System and method for client-server communication facilitating utilization of authentication and network-based procedure call

ABSTRACT

System and method for setting up a data communication are disclosed. Method includes facilitating authenticating a module of a client computing device for the data communication. Method includes facilitating authenticating a module of a server for the data communication. Method includes authenticating an encoding for a network-based procedure call interface for the server. Method includes binding the network-based procedure call interface to a protocol for a gateway interface of the server. Method includes facilitating verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range. Method includes facilitating creating a tunnel to a module of the server, wherein the tunnel is for the data communication. Method includes facilitating creating a channel within the tunnel, wherein the channel is for the data communication.

CROSS-REFERENCES TO RELATED APPLICATIONS

The present application claims the benefit of priority from U.S. Provisional Patent Application Ser. No. 61/521,736, entitled, “REMOTE GATEWAY CLIENT PROXY AND SYSTEMS,” filed on Aug. 9, 2011 and U.S. Provisional Patent Application Ser. No. 61/515,277, entitled “METHOD AND APPARATUS FOR REMOTE GATEWAY CLIENT PROXY”, filed on Aug. 4, 2011, both of which are hereby incorporated by reference in their entirety for all purposes.

FIELD

The disclosure relates in general to remote computing or client-server computer systems, and more particularly to, for example, a system and method for client-server communication facilitating utilization of authentication and network-based procedure call.

BACKGROUND

Some proprietary servers (for example servers implementing Microsoft Remote Desktop Protocol®) may be designed to interface with clients implementing proprietary operating systems (e.g., Microsoft Windows® operating systems) or including code for interfacing with software in the specific operating systems. As a result, these servers and the data and software stored thereon are inaccessible to client computing devices not implementing the specific operating systems, inconveniencing users of such client computing devices and reducing the value of the user experience. As the foregoing illustrates, an new approach for interfacing a proprietary server with a client computing device that does not necessarily implement a proprietary operating system may be desirable.

SUMMARY

In some aspects, a method for communicating data is provided. The method may include facilitating receiving, from a module of a client computing device, a first message in a universal format. The method comprises generating a first encoded message by encoding the first message into a network-based procedure call interface associated with a server, based on a stored encoding for the network-based procedure call interface. The method may include facilitating transmitting the first encoded message to a module of the server. The method may include facilitating receiving, from a module of the server, a second message encoded in the network-based procedure call interface associated with the server. The method may include generating a second decoded message by decoding the second message into the universal format, based on the stored encoding for the network-based procedure call interface. The method may include facilitating transmitting the second decoded message to a module of the client computing device.

In some aspects, a non-transitory machine-readable medium comprising instructions stored therein, the instructions executable by one or more processors to perform one or more operations is provided. The instructions may include code for causing the one or more processors to facilitate receiving, from a module of a client computing device, a first message in a universal format. The instructions may include code for causing the one or more processors to generate a first encoded message by encoding the first message into a network-based procedure call interface associated with a server, based on a stored encoding for the network-based procedure call interface. The instructions may include code for causing the one or more processors to facilitate transmitting the first encoded message to a module of the server. The instructions may include code for causing the one or more processors to facilitate receiving, from a module of the server, a second message encoded in the network-based procedure call interface associated with the server. The instructions may include code for causing the one or more processors to generate a second decoded message by decoding the second message into the universal format, based on the stored encoding for the network-based procedure call interface. The instructions may include code for causing the one or more processors to facilitate transmitting the second decoded message to a module of the client computing device.

In some aspects, an apparatus is provided. The apparatus may include one or more modules configured to facilitate authenticating a module of a client computing device for a data communication. The apparatus may include one or more modules configured to facilitate authenticating a module of a server for the data communication. The apparatus may include one or more modules configured to authenticate an encoding for a network-based procedure call interface for the server. The apparatus may include one or more modules configured to bind the network-based procedure call interface to a protocol for a gateway interface of the server. The apparatus may include one or more modules configured to facilitate verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range. The apparatus may include one or more modules configured to facilitate creating a tunnel to a module of the server, wherein the tunnel is for the data communication. The apparatus may include one or more modules configured to facilitate creating a channel within the tunnel, wherein the channel is for the data communication.

In some aspects, a computer-implemented method for setting up a data communication is provided. The method may include facilitating authenticating a module of a client computing device for the data communication. The method may include facilitating authenticating a module of a server for the data communication. The method may include authenticating an encoding for a network-based procedure call interface for the server. The method may include binding the network-based procedure call interface to a protocol for a gateway interface of the server. The method may include facilitating verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range. The method may include facilitating creating a tunnel to a module of the server, wherein the tunnel is for the data communication. The method may include facilitating creating a channel within the tunnel, wherein the channel is for the data communication.

In some aspects, a non-transitory machine-readable medium comprising instructions stored therein, the instructions executable by one or more processors to perform one or more operations is provided. The instructions may include code for causing the one or more processors to facilitate authenticating a module of a client computing device for a data communication. The instructions may include code for causing the one or more processors to facilitate authenticating a module of a server for the data communication. The instructions may include code for causing the one or more processors to authenticate an encoding for a network-based procedure call interface for the server. The instructions may include code for causing the one or more processors to bind the network-based procedure call interface to a protocol for a gateway interface of the server. The instructions may include code for causing the one or more processors to facilitate verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range. The instructions may include code for causing the one or more processors to facilitate creating a tunnel to a module of the server, wherein the tunnel is for the data communication. The instructions may include code for causing the one or more processors to facilitate creating a channel within the tunnel, wherein the channel is for the data communication.

In some aspects, an apparatus is provided. The apparatus may include one or more modules configured to facilitate authenticating a module of a client computing device for a data communication. The apparatus may include one or more modules configured to facilitate authenticating a module of a server for the data communication. The apparatus may include one or more modules configured to authenticate an encoding for a network-based procedure call interface for the server. The apparatus may include one or more modules configured to bind the network-based procedure call interface to a protocol for a gateway interface of the server. The apparatus may include one or more modules configured to facilitate verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range. The apparatus may include one or more modules configured to facilitate creating a tunnel to a module of the server, wherein the tunnel is for the data communication. The apparatus may include one or more modules configured to facilitate creating a channel within the tunnel, wherein the channel is for the data communication.

It is understood that various configurations of the subject technology will become readily apparent to those skilled in the art from the disclosure, wherein various configurations of the subject technology are shown and described by way of illustration. As will be realized, the subject technology is capable of other and different configurations and its several details are capable of modification in various other respects, all without departing from the scope of the subject technology. Accordingly, the summary, drawings and detailed description are to be regarded as illustrative in nature and not as restrictive.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example of a client-server computer system with a service compatible client.

FIG. 2 illustrates an example of a client-server computer system with a service incompatible client in accordance with one aspect of the disclosure.

FIG. 3 illustrates an example of a proxy machine in accordance with one aspect of the disclosure.

FIG. 4 illustrates an example of a translation module in accordance with one aspect of the disclosure.

FIG. 5 is a conceptual block diagram illustrating an example of a computing device.

FIG. 6 illustrates a simplified diagram of an example of a network system.

FIG. 7 illustrates an example of a process of facilitating creating a tunnel and channels between the proxy machine and the remote server computing device in accordance with one aspect of the disclosure.

FIG. 8 illustrates an example of a process of facilitating communication between the service incompatible client and the remote server computing device in accordance with one aspect of the disclosure.

FIG. 9 illustrates an example of a client-server computer system in accordance with one aspect of the disclosure.

FIG. 10 illustrates an example of a process of translating a message from a format associated with a sending computing device to a format associated with the receiving computing device in accordance with one aspect of the disclosure.

FIG. 11 illustrates an example of a process of authenticating a message received in a format associated with a client computing device format to a format associated with a server computing device in accordance with one aspect of the disclosure.

FIG. 12 illustrates an example of a process of authenticating a message received in a format associated with the server computing device to a format associated with a client computing device in accordance with one aspect of the disclosure.

FIG. 13A is a flow chart illustrating an example of an operation of a translation module in a proxy machine.

FIG. 13B is an example of a device including instructions for an operation of a translation module in a proxy machine.

FIG. 13C is an example of a device including one or more modules for an operation of a translation module in a proxy machine.

FIG. 14A is a flow chart illustrating an example of an operation of a setup module in a proxy machine.

FIG. 14B is an example of a device including instructions for an operation of a setup module in a proxy machine.

FIG. 14C is an example of a device including one or more modules for an operation of a setup module in a proxy machine.

DETAILED DESCRIPTION

The detailed description set forth below is intended as a description of various configurations of the subject technology and is not intended to represent the only configurations in which the subject technology may be practiced. The appended drawings are incorporated herein and constitute a part of the detailed description. The detailed description includes specific details for the purpose of providing a thorough understanding of the subject technology. However, it will be apparent to those skilled in the art that the subject technology may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring the concepts of the subject technology. Like components are labeled with identical element numbers for ease of understanding.

In one aspect, the subject technology relates to a remote procedure call frame and filter (RPCFF) host that facilitates interfacing a proprietary remote server (e.g., a desktop computer running a Microsoft Window® operating system implementing Microsoft Remote Procedure Call®) with a non-proprietary client computing device (e.g., a laptop computer implementing a Linux Ubuntu® operating system). The RPCFF host may facilitate receiving, from the client computing device not configured to implement the proprietary remote procedure call protocol (e.g., Microsoft RPC), a request to communicate with the remote server configured to implement the proprietary remote procedure call protocol. The RPCFF host may facilitate providing, via a remote procedure call layer, network level authentication for the client computing device. The RPCFF host may provide a data path for a logical role on the remote server without implementing a server stack in the proprietary remote procedure call protocol. The logical role may be configured to implement the proprietary remote procedure call protocol. The RPCFF host may define a communication syntax, for the data path, between the client computing device and the logical role. The communication syntax may be different from the proprietary remote procedure call protocol. The communication syntax may involve translating between a universal communication protocol (e.g. Secure Shell) and the proprietary remote procedure call protocol. The RPCFF host may facilitate communicating data, according to the communication syntax, via the data path, between the client computing device and the logical role.

In one implementation, the subject technology relates to a remote gateway client proxy. The client proxy assists a service incompatible client computing device in communicating with a remote server computing device and machines in a service, including a network-based procedure call interface and a gateway interface.

Client-server computer systems are oftentimes implemented to allow users of client computing devices to access data stored on server computing devices that are located remote to the client computing devices. However, one disadvantage of client-server computer systems is that a particular client computing device might not be able to interface with a particular server computing device if the client computing device lacks an operating system that is associated with the server computing device. For example, a server computing device implementing a specialized operating system, such as Microsoft Windows Server 2008, may only be able to interact with client computing devices implementing certain Microsoft operating systems, such as Windows XP or Vista. Client computing devices implementing other operating systems, such as Google Android or Apple IOS operating systems, may not be able to fully interact with the server computing device. As the foregoing illustrates, what is needed in the art is a technique to allow a client computing device implementing an arbitrary operating system to fully interact with a server computing device implementing a specialized operating system.

Disadvantages of known client-server computing systems include that these systems rely heavily on proprietary protocols associated with the server computing device. For example, remote procedure call (RPC) is a Microsoft proprietary protocol. Only operating systems provisioned by Microsoft with RPC can use any Microsoft role, such as terminal services gateway (TSGW). This requires a very large footprint of code. Some of the shortcomings are that only Microsoft supplies the solution, the code size is large, and access through this mechanism is by design limited to Microsoft products.

In one aspect, the subject technology provides, among other things, a client-side solution that can interface Microsoft's Remote Desktop Gateway/Terminal Services Gateway (RDGW/TSGW) service, which implies that Microsoft's RPC are used. Therefore, in theory, it is not possible to interface a non-Microsoft client to Microsoft's TSGW since that non-Microsoft client doesn't have Microsoft's RPC capabilities. It is therefore the intrinsic nature of one aspect of the subject technology to “bridge” the RPC requirements without actually having an RPC software stack. This is accomplished by “hard coding” all input and output packets with data structures. Only data payloads change. Non-payload information remains constant. This is referred to in the industry as a “specialized packet filter.”

In one approach, RPC is utilized to implement TSGW/RDGW service access. One alternative described herein would involve a specialized packet filter, or a Microsoft RPC clone.

In one aspect, advantages and benefits of the subject technology may include interfacing of RPC for tunneling of data through a firewall in a Microsoft environment with a non-Microsoft client. Furthermore, the ability to tunnel data by use of RPC without an RPC stack using a specialized packet filter is another objective. As a result, aspects of the subject technology can provide a clear competitive advantage that enables clients to access within corporate firewalls using standard Microsoft services or roles, or services or roles that traditionally have required the client computing device to have an operating system that is “compatible” with the server computing device.

First Example of Client-Server Computer System

FIG. 1 illustrates an example of a client-server computer system 100. As shown, the computer system 100 includes service compatible client 110, firewall 120, service 125, and remote server computing device 160. The service 125 includes binding interface 130, network-based procedure call interface 140, and gateway interface 150.

In one aspect, the service 125 is a Microsoft service, the network-based procedure call interface 140 is a remote procedure call (RPC) server, and the gateway interface 150 is a terminal services gateway (TSGW) or remote desktop gateway (RDGW) server. The service compatible client 110 may implement a Microsoft Windows operating system, such as XP or Vista.

The service compatible client 110 can be a laptop computer, a desktop computer, a tablet computer, a personal digital assistant (PDA), a mobile phone, or any similar device. The service compatible client 110 may implement an operating system compatible with service 125. As shown, the service compatible client 110 is connected with the binding interface 130 over the firewall 120, which may function to create or deny network connections based on a set of rules. In one aspect, the communication between the service compatible client 110 and the service 125 is implemented in RPC.

As shown, the binding interface 130 includes a memory 132. The memory 132 includes a binding in module 134 and a binding out module 136. The binding in module 134 and binding out module 136 may be implemented in all software, all hardware or a combination of software and hardware. As illustrated, the binding in module 134 receives input messages from the service compatible client 110 in a format associated with the network-based procedure call communications of the service 125 (e.g., RPC if the service 125 implements Microsoft Server) and transmits these input messages to the network-based procedure call interface 140. The binding out module 136 receives messages from the network-based procedure call interface 140 and provides these messages to the service compatible client 110. In one aspect, the service 125 is a Microsoft service, and the messages passing through the binding in module 134 and the binding out module 136 are in RPC.

In one aspect, the network-based procedure call interface 140 is an RPC server that implements an RPC protocol to allow commands in messages from the service compatible client 110 to be executed on the remote server computing device 160. In one aspect, the commands in the messages from the service compatible client 110 are bound to an address space of the remote server computing device 160 using the gateway interface 150. In one aspect, the gateway interface 150 implements Microsoft terminal services gateway (TSGW), Microsoft remote desktop gateway (RDGW) or a similar protocol that is associated with the operating system of the server computing device 160.

In one aspect, a tunnel 170 is created between the service compatible client 110 and the remote server computing device 160, facilitating communication between the service compatible client 110 and remote server computing device 160. In one aspect the tunnel 170 includes a channel 175 connecting the service compatible client 110 with the remote server computing device 160. In one aspect, there are multiple remote server computing devices 160 connected to a single service compatible client 110 using a single tunnel 170 and multiple channels 175.

Second Example of Client-Server Computer System

FIG. 2 illustrates an example of a client-server computer system 200 with a service incompatible client 210 in accordance with one aspect of the disclosure. As shown, the computer system 200 includes service incompatible client 210, proxy machine 220, firewall 120, service 125, and remote server computing device 160. The service 125 includes binding interface 130, network-based procedure call interface 140, and gateway interface 150.

In one aspect, the service 125 is a Microsoft service, the network-based procedure call interface 140 is a remote procedure call (RPC) server, and the gateway interface 150 is a terminal services gateway (TSGW) or remote desktop gateway (RDGW) server. The service incompatible client 110 may implement a non-Microsoft operating system, such as Apple IOS or Google Android.

The gateway interface 150 may provide a role service that allows authorized remote client computing devices to connect to network resources on an internal corporate or private network. The network resources can be servers or computers with a remote desktop protocol (e.g., Microsoft Remote Desktop Protocol®) enabled.

The gateway interface 150 may use Remote Desktop Protocol (RDP) over HTTPS to establish a secure, encrypted connection between the remote client computing devices and the internal network resources which the remote client computing devices attempt to access.

The gateway interface 150 may provide a client computing device with access to all network resources. Alternatively, the gateway interface 150 may provide a client computing device with access to only one or more network resources that the client computing device attempts to access, for example, via a point-to-point RDP connection.

In one aspect, a remote procedure call may be an inter-process communication that allows a computer program to cause a subroutine or procedure to execute in another address space (commonly on another computer on a shared network) without the programmer explicitly coding the details for this remote interaction. For example, a client computing device may cause a subroutine or procedure to execute in the address space of the server. In one implementation, the programmer may write essentially the same code whether the subroutine is local to the executing program, or remote. In one example, remote procedure call may include remote invocation or remote method invocation.

In one example implementation, a remote procedure call may be initiated by the client, which may send a request message to a known remote server to execute a specified procedure with supplied parameters. The remote server may send a response to the client, and the application continues its process. In one example, the server may receive one remote procedure call at a time from the client. Alternatively, the client may send one or more asynchronous requests to the server, for example, one or more XHTTP calls.

One difference between remote procedure calls and local calls is that remote procedure calls may, in some cases, fail due to unpredictable network problems. In some implementations, callers of remote procedure calls may deal with such failures without knowing whether the remote procedure was actually invoked. In some example, remote procedure calls may be used in carefully written low-level subsystems.

In one aspect, a sequence of events during a remote procedure call may be as follows. However, other sequences of events during a remote procedure call may also be used in conjunction with the subject technology.

(1) The client may call the client stub. The call may be a local procedure call. Parameters may be pushed on to an OSI stack.

(2) The client stub may pack the parameters (e.g., using marshalling) into a message and make a system call to send the message.

(3) The client's local operating system may send the message from the client to the server.

(4) The local operating system on the server may pass the incoming packets to the server stub.

(5) Finally, the server stub may call the server procedure. The reply may follow, for example, the same steps in the reverse direction.

In one example, a stub may be a piece of code used for converting parameters passed during a remote procedure call.

A remote procedure call may, in one example, allow a client to remotely call procedures on a server. The client and server may use different address spaces, so conversion of parameters used in a function call may have to be performed to allow the values of parameters passed during the remote procedure call to be used, as pointers to the memory may point to different data on the client and on the server. The client and server may also use different data representations even for simple parameters (e.g., big-endian versus little-endian for integers). Stubs are used to perform the conversion of the parameters, so a remote procedure call from the client looks, to the server, like a local procedure call for the server, and vice versa.

In one implementation, stub libraries are installed on client and server side. A client stub is responsible for conversion of parameters used in a function call and deconversion of results passed from the server after execution of the function. A server skeleton, the stub on server side, is responsible for deconversion of parameters passed by the client and conversion of the results after the execution of the function.

Stub can be generated either manually or automatically.

Manually: In this approach, the remote procedure call implementer may provide a set of translation functions from which a programmer can construct stubs.

Automatically: An interface description language (IDL), may be used for defining the interface between client and server. For example, an interface definition has information to indicate whether, each argument is input, output or both—only input arguments may need to be copied from client to server and only output elements may need to be copied from server to client.

In one example, in a remote procedure call, the client and the server are connected via a network (e.g., the Internet, an intranet or a Virtual Private Network), via a remote desktop protocol connection (e.g., via Microsoft Remote Desktop Protocol®, via Citrix Independent Computing Architecture (ICA)®, or via VMWare VMView®), via a wired connection, or via a wireless connection. In one example, a network-based procedure call may be a remote procedure call transmitted from a client to a server via a network (e.g., the Internet). The client and the server may be connected via a network.

The service incompatible client 210 is coupled with a proxy machine 220, which communicates with the binding interface 130. The binding interface 130 may function to bind a proprietary (e.g., Microsoft®) client interface to the proprietary (e.g., Microsoft®) server interface. For example, the binding interface 130 may bind the Windows® client interface to a Microsoft® RPC interface. In a first aspect, the proxy machine 220 is a component of the service incompatible client 210. In a second aspect, the proxy machine 220 may be located outside the service incompatible client 210 on the same side of the firewall 120 as the service incompatible client 210, as illustrated. In a third aspect, the proxy machine 220 is located within the firewall 120. In a fourth aspect, the proxy machine 220 is a component of the service 125. In a fifth aspect, the proxy machine 220 is located on the same side of the firewall as the service 125 but is not a component of the service 125. Persons skilled in the art may realize that other locations of the proxy machine are possible and consistent with the subject technology.

The service incompatible client 210 can be a laptop computer, a desktop computer, a tablet computer, a personal digital assistant (PDA), a mobile phone, or any similar device. The service incompatible client 210 may implement an arbitrary operating system incompatible with service 125. For example, if service 125 implements Microsoft Server, the service incompatible client 210 may implement an Apple IOS or a Google Android operating system.

As shown, the service incompatible client 210 is connected with the proxy machine 220. In one aspect, the proxy machine 220 is internal to the service incompatible client 210 and the connection between proxy machine 220 and service incompatible client 210 is a hard wire or other internal connection. In another aspect, the proxy machine 220 is external to the service incompatible client 210 and a native Internet protocol (IP) connection is implemented between the service incompatible client 210 and the proxy machine 220. In one aspect, the service incompatible client 210 can only communicate using native IP communications and the proxy machine 220 handles the communications with the service 125 transparently to the service incompatible client 210. The proxy machine 220 is also connected with the binding interface 130. In one aspect, the service incompatible client 210 communicates with the proxy machine using a native IP communication technique or a similar universal format. However, the service 125 is designed to accept messages in the network-based procedure call communication format for the service 125 (e.g., RPC if the service 125 is running Microsoft Server). The proxy machine 220 converts messages from the universal format (e.g., native IP communication) to the network-based procedure call format of the service 125 (e.g., RPC) based on an encoding for the network-based procedure call format of the service 125. The operation of the proxy machine 220 is described in more detail in conjunction with FIGS. 3-4 below.

As shown, the binding interface 130 includes a memory 132. The memory 132 includes a binding in module 134 and a binding out module 136. The binding in module 134 and binding out module 136 may be implemented in all software, all hardware or a combination of software and hardware. As illustrated, the binding in module 134 receives input messages from the proxy machine 220 in a format associated with the network-based procedure call communication of the service 125 and transmits these input messages to the network-based procedure call interface 140. The binding out module 136 receives messages from the network-based procedure call interface 140 and provides these messages to the proxy machine 220. The proxy machine 220 then translates these messages into a universal format and provides them to the service incompatible client 210. In one aspect, the service 125 is a Microsoft service, and the messages passing through the binding in module 134 and the binding out module 136 are in RPC.

In one aspect, the proxy machine 220 uses a RPC-filter to setup the gateway interface 150. Once the gateway interface 150 is established or setup, the gateway interface 150 may also be used to communicate RPC commands, including OPNUM commands. In one aspect, the network-based procedure call interface 140 is an RPC server that implements an RPC protocol to allow commands in messages from the proxy machine 220 to be executed on the remote server computing device 160. In one aspect, the commands in the messages from the proxy machine 220 are bound to an address space of the remote server computing device 160. In one aspect, the gateway interface 150 implements Microsoft terminal services gateway (TSGW), Microsoft remote desktop gateway (RDGW) or a similar protocol that is associated with the operating system of the remote server computing device 160. If the gateway interface 150 implements TSGW, then the gateway interface 150 may exchange data using OPNUM, a specialized syntax described in the TSGW specification. The OPNUM operations occur via a specialized RPC packet filter. RPC messages may be bound to TSGW messages using data exchanging or another technique of modifying memory representations of data. The remote server computing device 160 may include a remote desktop protocol (RDP) server as the target host. The proxy machine 220 may include the functions of the RPC packet filter to allow the client to transmit data to the server. In one aspect, RPC messages use marshalling for data exchange in conjunction with interchange data language (IDL). RPC messages may be bound to TSGW messages using marshalling or another technique of modifying memory representations of data. The remote server computing device 160 may include a remote desktop protocol (RDP) server as the target host.

The gateway interface 150 may be any gateway interface. For example, the gateway interface 150 may include a common gateway interface, a web server gateway interface, or a simple common gateway interface. In one example, the gateway interface 150 may have two sides, a server side of the gateway interface 150 and a client side of the gateway interface 150. The server side of the gateway interface 150 may call the client side of the gateway interface 150, providing environment information plus a callback function (for the client side of the gateway interface 150 to use to convey headers to the server side of the gateway interface 150), and receiving content (e.g., from the remote server computing device 160) in return.

In one aspect, marshalling may refer to techniques for transforming the memory representation of an object to a data format suitable for storage or transmission. Marshalling may be used when data must be moved between different parts of a computer program or from one program or machine to another (e.g., from a client to a server or from a server to a client). In one implementation, marshalling may be similar to serialization and may be used to communicate to remote objects with an object, in this case a serialized object. Marshalling may, in some cases, simplifies complex communication, using custom/complex objects to communicate instead of primitives.

In one aspect, an RPC packet filter may be utilized by to a client (e.g., client 210) not having access to an RPC stack for creating RPC commands to transmit to the server. A client may provide information that the client plans to transmit to the proxy machine 220. The proxy machine 220 may combine the information that the client plans to transmit with a RPC header (e.g., in the session layer, layer 5, of the open systems interconnection model). As a result, a client that does not modify, or does not have the ability to modify, the RPC layer in the open systems interconnection (OSI) model can still be able to populate fields in RPC transmissions via operation of the proxy. Lower layers of the OSI model in the RPC packet filter may include pre-filled RPC header data. Upper layers of the OSI model in the RPC packet filter may include client data. The proxy machine 220 may include the functions of the RPC packet filter to allow the client to transmit data to the server.

The OSI model may be used to represent data communications and networking In one aspect, the OSI model may include the following layers: (1) physical layer, (2) data link layer, (3) network layer, (4) transport layer, (5) session layer, (6) presentation layer, and (7) application layer.

The physical layer (layer 1) may be responsible for the specifications of the transmission media (e.g., cable, wire, or wireless radio) and the electrical signal that goes into the transmission media. The physical layer may include one or more of the following functions: (a) providing the electrical and physical interface to the network, (b) specifying the type of medium, or (c) specifying how signals are transmitted within the medium. Example physical layer protocols include IEEE 802.11, IEEE 802.15, Bluetooth®, and universal serial bus (USB).

The data link layer (layer 2) may create the entity (the packet or frame) which is put on the transmission media. The data link layer may include one or more of the following functions: (a) controlling access to the communication channels, (b) controlling the flow of data within the communication channels, (c) organizing the data into logical frames, (d) identifying specific computers on the network, or (e) detecting communication errors. Example data link layer protocols include Frame Relay and Network Switch.

The network layer (layer 3) may be responsible for getting information to the correct computer or the correct network. The network layer may include one or more of the following functions: (a) moving information to the correct address, (b) assembling and disassembling packets or frames, (c) determining addressing and routing, or (d) determining the best path. Example network layer protocols include Internet Protocol (IP) and AppleTalk.

The transport layer (layer 4) may be responsible for providing extra connection services including error correction. The transport layer may include one or more of the following functions: (a) controlling data flow, e.g., slowing down transmissions if buffers are about to overflow, (b) fragmenting and reassembling data, (c) acknowledging successful transmissions, or (d) correcting faulty transmissions. Example transport layer protocols include transmission control protocol (TCP) and user datagram protocol (UDP).

The session layer (layer 5) may be responsible for controlling the setup, termination, and other mechanisms of a session. In one example, a session may include an agreement to communicate between two entities (e.g., modules or machines). The session layer may include one or more of the following functions: (a) establishing and maintaining connections, (b) dealing with name recognition, (c) dealing with synchronization of data transmissions by placing checkpoints within the data stream so that, if interrupted, the transmission can take up where it left off, or (d) handling remote procedure calls, e.g., running a program on a remote computer. Example session layer protocols include RPC, Network Basic Input/Output System (NetBIOS), Session Announcement Protocol (SAP), Point-to-Point Tunneling Protocol (PPTP), and Socket Secure (SOCKS).

The presentation layer (layer 6) may be responsible for providing syntax and grammatical rules for presenting data to the application layer (layer 7), including encoding, decoding, and otherwise converting data. The presentation layer may include one or more of the following functions: (a) maintaining representation of character sets (e.g., American Standard Code for Information Interchange (ASCII) or Unicode), (b) compressing or decompressing of data, e.g., for a communication protocol of the data link layer, (c) encrypting or decrypting of data, e.g., via one or more of the Data Encryption Standard (DES), RSA, or Secure Socket Layer (SSL) protocols, (d) implementing bit order translation, (e) implementing byte order translation, or (f) maintaining file structure. Example presentation layer protocols include SSL, Transport Layer Security (TLS), External Data Representation (XDR), or Multipurpose Internet Mail Extension (MIME).

The application layer (layer 7) may be responsible for providing network services to computing devices (e.g., clients or servers) and applications running on computing devices. The application layer may provide one or more of the following functions: (a) providing an interface between an operating system of a computing device and a network or communication path, or (b) providing network services such as file transfer, mail services, or terminal emulation. Example application layer protocols include Hypertext Transfer Protocol (HTTP), Secure Shell (SSH), File Transfer Protocol (FTP), Session Initiation Protocol (SIP), Network Time Protocol (NTP), Real-Time Transport Protocol (RTP), BitTorrent Protocol, and SPDY.

In one aspect, a tunnel 270 is created between the proxy machine 220 and the remote desktop computing device 160, facilitating communication between the proxy machine 220 and the remote desktop computing device 160. In one aspect the tunnel 270 includes a channel 275 connecting the proxy machine 220 with the remote server computing device 160. In one aspect, there are multiple remote server computing devices 160 connected to a single proxy machine 220 using a single tunnel 270 and multiple channels 275.

In one aspect, the proxy machine 220 of the subject technology may include the following elements:

(1) NLA (network layer authentication) referred to as “credssp” comprising NTLM/Kerberos (NT LAN Manager/Kerberos).

(2) HTTPS/SSL (hypertext transfer protocol secure/secure socket layer)—encryption based security.

(3) RPC Authentication—provides NLA at RPC layer.

(4) RPC Bridge/Filter—This provides stack elevation and demotion without RPC.

(5) Tunnel Creation—by use of the RPC bridge/filter.

(6) Channel Creation—by use of the RPC bridge/filter.

(7) Data Exchange—by use of the RPC bridge/filter.

In one aspect, stack elevation and demotion may refer to using a higher layer in the OSI model to traffic lower layer data, for example, via a tunnel (e.g., tunnel 170 or tunnel 270). Two modules (e.g., the proxy machine 220 and the remote server computing device 160) separated by a firewall (e.g., firewall 120) may use a communication protocol for a higher layer in the OSI model to traffic data associated with a lower layer in the OSI model. For example, Internet Protocol (IP) data (associated with the network layer, layer 3) may be trafficked via Hypertext Transfer Protocol (HTTP, associated with the application layer, layer 7) transmission techniques.

In some implementations of the OSI stack model, lower number layer data may not be transmitted over higher number layer protocols. Thus, stack elevation and demotion may provide a contradiction to the OSI stack to the degree that lower layer data may be transmitted via a higher layer protocol. As a result of stack elevation and demotion, the OSI layer stack may represent a bidirectional stream of data, rather than a unidirectional stream of data, as in some other implementations.

Under typical operation of the OSI model (without stack elevation and demotion), lower number layers have access to higher number layers, but higher number layers do not have access to lower number layers. For example, under typical operation of the OSI model, the physical layer (layer 1) may know which data link layer (layer 2) protocols are implemented, but not vice versa. Under stack elevation and demotion, the data link layer (layer 2) may know which physical layer (layer 1) protocols are being implemented, and vice versa. As a result, the OSI layer stack may represent a bidirectional stream of data, rather than a unidirectional stream of data (from low number layers to high number layers only).

Furthermore, if m and n represent layer numbers of the OSI model stack, where m<n, under stack elevation and demotion, data blocks of layer number m (lower number layer) may be trafficked via a layer number n (higher number layer) protocol. The data blocks for each layer is represented as demonstrated in Table 1-1.

TABLE 1-1 Layer Blocks in data Layer 7, typical implementation [Data Payload] Layer 6, typical implementation [Layer 7 Protocol ID] [Data Payload] Layer 5, typical implementation [Layer 6 Protocol ID] [Layer 7 Protocol ID] [Data Payload] Layer 4, typical implementation [Layer 5 Protocol ID] [Layer 6 Protocol ID] [Layer 7 Protocol ID] [Data Payload] Layer 3, typical implementation [Layer 4 Protocol ID] [Layer 5 Protocol ID] [Layer 6 Protocol ID] [Layer 7 Protocol ID] [Data Payload] Layer 2, typical implementation [Layer 3 Protocol ID] [Layer 4 Protocol ID] [Layer 5 Protocol ID] [Layer 6 Protocol ID] [Layer 7 Protocol ID] [Data Payload] Layer 1, typical implementation [Layer 2 Protocol ID] [Layer 3 Protocol ID] [Layer 4 Protocol ID] [Layer 5 Protocol ID] [Layer 6 Protocol ID] [Layer 7 Protocol ID] [Data Payload]

One example of the data blocks for a layer with stack elevation and demotion are demonstrated in Table 1-2.

Layer 7, with stack elevation and [Layer 4 Protocol ID] demotion from Layer 3 to layer 7 [Layer 5 Protocol ID] [Layer 6 Protocol ID] [Layer 7 Protocol ID] [Data Payload]

As illustrated in Tables 1-1 and 1-2, while in a typical implementation a protocol at layer n includes protocol IDs for layers n+1 to 7, with stack elevation and demotion from layer m to layer n, where m<n, data for layer n includes protocol IDs for layers m+1 to 7.

In one aspect of the subject technology, NLA may authenticate the user for access to the TSGW server; HTTPS/SSL may be used as the fundamental transport protocol; and RPC authentication may be a component of the RPC filter. According to one aspect, it is required to assure that a given user has permission to access the RPC layer; RPC Bridge may be the method of providing a data-path to the logical role/service known as TSGW. Tunnel Creation is one example of a command set to TSGW using RPC that creates an “hole” through a firewall. Channel Creation is one example of a command set to TSGW using RPC that creates a logical “channel” to a target host. According to one aspect, it is the channel by which data is transferred to and from a target host within a firewall. Data Exchange may be the process of using a Channel for sending or receiving data through a TSGW server.

In one example, a tunneling protocol (e.g., the tunneling protocol of tunnel 270 and channel 275) may be used when one network protocol (the delivery protocol) encapsulates a different payload protocol. By using tunneling, the computer system 200 can, for example, carry a payload over an incompatible delivery-network, or provide a secure path through an untrusted network.

In one example, tunneling may contrast with a layered protocol model such as those of OSI or TCP/IP. The delivery protocol may, in some cases, operate at a higher level in the model (e.g., OSI model) than does the payload protocol, or at the same level.

Tunneling protocols may use data encryption to transport insecure payload protocols over a public network (such as the Internet), thereby providing, e.g., virtual private network (VPN) functionality. For example, the IPsec protocol includes an end-to-end transport mode, but can also operate in a tunneling mode through a trusted security gateway.

In one example, a secure shell (SSH) tunnel may include an encrypted tunnel created through a SSH protocol connection. A SSH tunnel may be used to transfer unencrypted traffic over a network through an encrypted channel. For example, Microsoft Windows® machines can share files using the Server Message Block (SMB) protocol, a non-encrypted protocol. In one example, in a Microsoft Windows® file-system mounted remotely through the Internet, an eavesdropper snooping on the connection could see transferred files. However, to mount the Windows® file-system securely, a SSH tunnel that routes all SMB traffic to the remote fileserver through an encrypted channel may be established. Even though the SMB protocol itself may contain no encryption, the encrypted SSH channel through which the SMB protocol data travels may offer security.

In one example, a SSH tunnel may be set up by configuring a SSH client to forward a specified local port to a port on the remote machine. Once the SSH tunnel has been established, the SSH client can connect to the specified local port to access the network service. The local port need not have the same port number as the remote port.

SSH tunnels may provide a means to bypass firewalls that prohibit certain Internet services—so long as a site allows outgoing connections. For example, an organization may prohibit a user from accessing Internet web pages (port 80) directly without passing through the organization's proxy filter (which provides the organization with a means of monitoring and controlling what the user sees through the web). But users may not wish to have their web traffic monitored or blocked by the organization's proxy filter. If users can connect to an external SSH server, they can create a SSH tunnel to forward a given port on their local machine to port 80 on a remote web-server.

Some example SSH clients support dynamic port forwarding that allows creation of a SOCKS 4/5 proxy. As a result, applications can be configured to use a local SOCKS proxy server, giving applications more flexibility than creating a SSH tunnel to a single port. SOCKS can free a client from the limitations of connecting only to a predefined remote port and server. If an application does not support SOCKS, one can use a “socksifier” to redirect the application to the local SOCKS proxy server.

In one example, tunneling may be used to “sneak through” a firewall, using a protocol that the firewall would normally block, but is “wrapped” inside a protocol that the firewall does not block, such as hypertext transfer protocol (HTTP). If the firewall policy does not specifically exclude this kind of “wrapping,” such wrapping can function to get around the intended firewall policy.

Another example HTTP-based tunneling method uses the HTTP CONNECT approach. A client may issue the HTTP CONNECT command to a HTTP proxy. The proxy then makes a TCP connection to a particular server port, and relays data between that server port and the client connection. As HTTP CONNECT may create a security hole, CONNECT-capable HTTP proxies may restrict access to the CONNECT approach. The proxy may, in one example, allow access only to a white list of specific authorized servers.

Example of Proxy Machine

FIG. 3 illustrates an example of a proxy machine 220 in accordance with one aspect of the disclosure. As shown, the proxy machine 220 includes a processor 305, a network interface card 310, and a memory 320 connected by a bus or interconnect 315.

The processor 305 functions to execute instructions that are provided to the processor 305 from the memory 320 or other storage locations. The network interface card 310 allows the proxy machine 220 to connect to a network, such as the Internet, a cellular network, a local area network (LAN) or an intranet. The memory 320 stores data and instructions that can be implemented or modified by the processor 305.

As shown, the memory 320 includes a setup module 325, a translation module 340, client credentials 345, and service credentials 350. The setup module 325 is configured to initiate the communication between the service incompatible client 210, the proxy machine 220, and the service 225. As illustrated, the setup module 325 includes a create tunnel module 330 and a create channel module 335.

The create tunnel module 330 facilitates the creation of the tunnel 270 between the proxy machine 220 and the service 125. The create channel module facilitates the creation of channel 275 within the tunnel 270. While only one channel 275 is illustrated, in one aspect, multiple channels 275 may be created. In one aspect, channel 275 connects the proxy machine 220 with the remote server computing device 160. The operation of the setup module is described in more detail in conjunction with FIG. 7, below.

The translation module 340 facilitates the translation of messages between the universal format for communication with the service incompatible client 210 and the network-based procedure call format of the service 125 (e.g. RPC). In one embodiment, the network-based procedure call format of the service is RPC and RPC encodings of commands and data are stored with the translation module 340 to allow the translation module to convert messages between the universal format and RPC.

As shown, the memory 320 further includes client credentials 345 and service credentials 350. In one aspect, the client credentials 345 include a username, a password, a domain name, and a host name. In one aspect, the service credentials 350 include valid usernames of users of the service, valid passwords associated with the usernames, a domain name, and a host name.

The proxy machine 220 and/or a module for setting up the proxy machine 220 may reside within (e.g., embedded in) a router for establishing a port forward or a virtual private network (VPN) through a gateway service (e.g., a TSGW service or service 125). In some implementations, RPC code may not be available on client devices running non-proprietary (e.g., non-Microsoft) operating systems operating without a proxy machine or running RPC, or such clients may require a large amount of code. Hence, in one aspect, having a proxy machine embedded in a router for establishing a VPN or port forward through a gateway service is currently not possible due to the amount of code required and the fact that the RPC code is not available on non-proprietary (e.g., non-Microsoft) operating systems. It should be noted that TSGW is one example of a gateway protocol. Any other gateway protocol (e.g., a proprietary gateway protocol) may be used in conjunction with the subject technology. Also, in some aspects, the subject technology may include any modification, augmentation, or omission to the RPC layer.

Example of Translation Module

FIG. 4 illustrates an example of a translation module 340 in accordance with one aspect of the disclosure.

As shown, the translation module 325 includes a request 405 from a client in a universal format, universal format data 410 to be sent to the client, encoding 415 for the network-based procedure call interface of the service 125, encoding 420 for data to be sent to the service, and encoded data 425 received from the service. In one aspect, the network-based procedure call interface of the service 125 is in RPC.

In one aspect, the translation module 340 receives a request 405 from the service incompatible client 210 in a universal format. The translation module 340 uses the encoding 415 for the network-based procedure call interface of the service to encode the request 405 in the network-based procedure call communication format, resulting in an encoding 420 for data to be sent to the service 125. In one aspect, the translation module 340 then facilitates sending this encoding 420 to the service 125.

In one aspect, the translation module 340 receives encoded data 425 from the service 125. The translation module 340 then decodes the encoded data 425 from the service 125 based on the encoding 415 for the network-based procedure call interface of the service 125. The result is universal format data 410 that can be sent to the service incompatible client 210. In one aspect, the translation module 340 then facilitates sending the universal format data 410 to the service incompatible client 210.

Example of Computing Device

FIG. 5 is a conceptual block diagram illustrating an example of a computing device.

A computing device 500 may be, for example, a service compatible client 110, a service incompatible client 210, a proxy machine 220, a binding interface 130, a RPC server 140, a gateway interface 150 or a remote server computing device 160. A computing device may comprise one or more computing devices.

A computing device 500 may include a processing system 502. The processing system 502 is capable of communication with a receiver 506 and a transmitter 508 through a bus 504 or other structures or devices. It should be understood that communication means other than busses can be utilized with the disclosed configurations. The processing system 502 can generate commands, messages, and/or other types of data to be provided to the transmitter 509 for communication. In addition, commands, messages, and/or other types of data can be received at the receiver 506, and processed by the processing system 502.

The processing system 502 may operate in conjunction with a general-purpose processor or a specific-purpose processor for executing instructions and may further include a machine-readable medium 519 for storing data and/or instructions for software programs. The instructions, which may be stored in a machine-readable medium 510 and/or 519, are executable by the processing system 502 to control and manage access to the various networks, as well as provide other communication and processing functions. The instructions may also include instructions executable by the processing system 502 for various user interface devices, such as a display 512 and a keypad 514. The processing system 502 may include an input port 522 and an output port 524. Each of the input port 522 and the output port 524 may include one or more ports. The input port 522 and the output port 524 may be the same port (e.g., a bi-directional port) or may be different ports.

The processing system 502 may be implemented using software, hardware, or a combination of both. By way of example, the processing system 502 may be implemented with one or more processors. A processor may be a general-purpose microprocessor, a microcontroller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a state machine, gated logic, discrete hardware components, and/or any other suitable device that can perform calculations or other manipulations of information. Those skilled in the art will recognize how best to implement the described functionality for the processing system 502.

Software shall be construed broadly to mean instructions, data, or any combination thereof, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise. Instructions may include code (e.g., in source code format, binary code format, executable code format, or any other suitable format of code). Instructions may be executable, for example, by a computing device (e.g., a client computing device, an HTTP server, a web server) or by a processing system (e.g., an operating system, an HTTP server, or a web server). Instructions can be, for example, a computer program including code.

A machine-readable medium can be one or more machine-readable media. A machine-readable medium (e.g., 510) may include storage external to an operating system, such as a random access memory (RAM) 550, a flash memory 530, a read only memory (ROM) 540, a programmable read-only memory (PROM), an erasable PROM (EPROM), registers, a hard disk, a removable disk, a CD-ROM, a DVD, or any other suitable storage device. A machine-readable medium 519 may also have a volatile memory and a non-volatile memory. The machine-readable medium 519 may be a non-transitory machine-readable medium. A non-transitory machine-readable medium may include one or more volatile and/or non-volatile memories. A machine-readable medium 519 may include storage integrated into a processing system, such as might be the case with an application specific integrated circuit (ASIC). A memory may be a machine-readable medium (e.g., 510 or 519) or a part thereof.

According to one aspect of the disclosure, a machine-readable medium is a computer-readable medium encoded or stored with instructions and is a computing element, which defines structural and functional interrelationships between the instructions and the rest of the computing device, which permit the instructions' functionality to be realized. In one aspect, a machine-readable medium is a non-transitory machine-readable medium, a machine-readable storage medium, or a non-transitory machine-readable storage medium. In one aspect, a machine-readable medium is a computer-readable medium, a non-transitory computer-readable medium, a computer-readable storage medium, or a non-transitory computer-readable storage medium.

An interface 516 may be any type of interface and may reside between any of the components shown in FIG. 5. An interface 516 may also be, for example, an interface to the outside world (e.g., an Internet network interface). A transceiver block 507 may represent one or more transceivers, and each transceiver may include a receiver 506 and a transmitter 509. A functionality implemented in a processing system 502 may be implemented in a portion of a receiver 506, a portion of a transmitter 509, a portion of a machine-readable medium 510, a portion of a display 512, a portion of a keypad 514, or a portion of an interface 516, and vice versa. In one aspect, a computing device may include only some or all of the elements shown in FIG. 5. A computing device may include other elements not shown in FIG. 5. A computing device may include more than one of the same elements.

Example of Network System

FIG. 6 illustrates a simplified diagram of an example of a computer network system in accordance with an aspect of the present disclosure.

A computer network system 600 may include one or more client computing devices 602 (e.g., laptop computers, desktop computers, tablets, PDAs, mobile phones, etc.) in communication with one or more server computing devices 604 (e.g., a server such as an HTTP server, a web server, an enterprise server, etc.) via a network 606. In one aspect, a server computing device 604 is configured to allow remote sessions (e.g., remote desktop sessions) wherein users can access applications and files on the server computing device 604 by logging onto the server computing device 604 from a client computing device 602. Such a connection may be established using any of several well-known techniques such as the remote desktop protocol (RDP) on a Windows-based server or the techniques disclosed herein for a non-Windows-based server.

In one aspect of the disclosure, a client computing device 602 may be an end-user computing device, such as a laptop or desktop computer. In one aspect, a server computing device 604 may be a terminal services gateway (TSGW) server or a remote desktop gateway (RDGW) server.

By way of illustration and not limitation, a client computing device 602 can represent a computer, a mobile phone, a laptop computer, a tablet, a thin computing device, a personal digital assistant (PDA), a portable computing device, a virtual machine, or a suitable device with a processor. In one example, a client computing device 602 is a smart phone (e.g., iPhone, Android phone, Blackberry, etc.). In certain configurations, a client computing device 602 can represent an audio player, a game console, a camera, a camcorder, an audio device, a video device, a multimedia device, or a device capable of supporting a connection to a remote computing device. In an advantageous example, a client computing device 602 is mobile. In another advantageous example, a client computing device 602 is a hand-held device. In another example, a client computing device 602 can be stationary. In one example, a client computing device 602 may be a device having at least a processor and memory, where the total amount of memory of the client computing device 602 is less than the total amount of memory in a server computing device 604. In an advantageous example, a client computing device 602 does not have a hard disk. In one advantageous aspect, a client computing device 602 has a display smaller than a display supported by a server computing device 604.

In one aspect, a server computing device 604 may represent a computer, a laptop computer, a computing device, a virtual machine (e.g., VMware® Virtual Machine), a desktop session (e.g., Microsoft Terminal Server), a published application (e.g., Microsoft Terminal Server) or a suitable device with a processor. In one aspect, a server computing device 604 can be stationary. In another aspect, a server computing device 604 can be mobile. In certain configurations, a server computing device 604 may be any device that can represent a computing device. In one aspect, a server computing device 604 may include one or more computing devices.

In one example, a first device is remote to a second device when the first device is not directly connected to the second device. In one example, a first remote device may be connected to a second device over a communication network such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or other network.

When a client computing device 602 and a server computing device 604 are remote with respect to each other, a client computing device 602 may connect to a server computing device 604 over a network 606, for example, via a modem connection, a LAN connection including the Ethernet or a broadband WAN connection including DSL, Cable, T1, T3, Fiber Optics, Wi-Fi, or a mobile network connection including GSM, GPRS, 3G, WiMax or other network connection. A network 606 can be a LAN network, a WAN network, a wireless network, the Internet, an intranet or other network. A remote device (e.g., a computing device) on a network may be addressed by a corresponding network address, such as, but not limited to, an Internet protocol (IP) address, an Internet name, a Windows Internet name service (WINS) name, a domain name or other system name. These illustrate some examples as to how one device may be remote to another device. However, the subject technology is not limited to these examples.

Example of Process of Facilitating Creating Tunnel and Channels Between Proxy Machine and Service

In accordance with one aspect of the disclosure, FIG. 7 illustrates an example of a process 700 of facilitating creating a tunnel 270 and channel 275 between the proxy machine 220 and the remote server computing device 160.

At process 705, the setup module 325 in the proxy machine 220 authenticates the service incompatible client 210. In one aspect, the authentication is accomplished by verifying the client credentials 345. The client credentials 345 may include a username, a password, a domain name, and a host name. Persons skilled in the art will recognize other techniques through which the setup module 325 could authenticate the service incompatible client 210.

At process 710, the setup module 325 in the proxy machine 220 authenticates the service. In one aspect, the authentication is accomplished by verifying the service credentials 350. The service credentials 350 may include valid usernames of users of the service, valid passwords associated with the usernames, a domain name, and a host name.

At process 715, the setup module 325 in the proxy machine 220 authenticates the encoding 415 for the network-based procedure call interface of the service 125 stored in association with the translation module 340 in the proxy machine 220. In one aspect, the service 125 implements Microsoft Server and the network-based procedure call interface of the service 125 is Microsoft RPC.

At process 720, the setup module 325 in the proxy machine 220 facilitates binding the network-based procedure call data of the service 125 to the protocol of the gateway interface 150. In one aspect, the protocol of the gateway server is TSGW or RDGW.

At process 725, the setup module 325 in the proxy machine 220 facilitates verifying the message size of the transmissions to the service incompatible client 210 and to the service 125. In one aspect, the messages to the service incompatible client are in a universal format. In one aspect, marshalling is used to ensure that messages from the proxy machine 220 to the service 125 are of the appropriate message size.

At process 730, the create tunnel module 330 in the setup module 325 in the proxy machine 220 facilitates creating a tunnel 270 between the proxy machine 220 and the remote server computing device 160. In one aspect, the tunnel 270 facilitates communication between the proxy machine 220 and the remote server computing device 160 using the network-based procedure call communication of the service 125.

At process 735, the create channel module 335 in the setup module 325 in the proxy machine 220 facilitates creating channel 275 between the proxy machine 220 and the remote sever computing device 160. In one aspect, there may be multiple remote server computing devices 160 and multiple channels 275 may be created.

Example of Process of Facilitating Communication Between Client and Service

In accordance with one aspect of the disclosure, FIG. 8 illustrates an example of a process 800 of facilitating communication between the service incompatible client 210 and the remote server computing device 160.

At process 805, the translation module 340 in the proxy machine 220 receives data in a universal format from the service incompatible client 210. In one aspect, the data is a request 405 from the service incompatible client 210. In one aspect the request 405 is received by the proxy machine 220 over a native IP connection.

At process 810, the translation module 340 in the proxy machine 220 encodes the data into an network-based procedure call interface associated with the service 125 based on an encoding 415 for the network-based procedure call interface of the service 125. In one aspect, the result is an encoding of data 420 to be sent to the service. In one aspect, the format for the network-based procedure call communication of the service 125 is RPC an the encoding 415 includes a set of RPC commands and data. In one aspect, the encoding 415 includes a set of commands and data in the network-based procedure call interface of the service 125.

At process 815, the translation module 340 in the proxy machine 220 facilitates transmitting the data 420 into the network-based procedure call interface associated with the service 125. In one aspect, the data 420 is transmitted to the service 125 over the tunnel 270.

At process 820, the translation module 340 in the proxy machine 220 receives a response from the service including response data 425 encoded in the network-based procedure call interface associated with the service 125. In one aspect, the response data 425 is a response to the data 420 that was submitted to the service 125. In one aspect, the response data 425 is received over the tunnel 270.

At process 825, the translation module 340 in the proxy machine 220 decodes the response data into the universal format based on the encoding 415 for the network-based procedure call interface of the service. In one aspect, the result of the decoding is universal format data 410 to be sent to the service incompatible client 210.

At process 830, the translation module 340 in the proxy machine 220 facilitates transmitting the universal format data 410 to the service incompatible client 210. In one aspect, the universal format data 410 is transmitted to the service incompatible client 210 over a native IP connection.

In one example, a process of the subject technology is described as follows:

Setup (Inbound)

(1) NTLM Authentication through HTTP over SSL.

(2) NTLM Authentication through RPC over SSL over HTTP.

(3) HTTP to RPC Bindings.

Setup (Outbound)

(4) NTLM Authentication through HTTP over SSL.

(5) NTLM Authentication through RPC over SSL over HTTP.

(6) HTTP to RPC Bindings.

Setup (RPC)

(7) RPC to TSGW Bindings.

(8) RPC Marshal size (32 bit).

TSGW via RPC

(9) Operations 1-9 (OPNUM).

One function of the process outlined above may be the setup of an inbound web-service authenticated HTTPS pathway, and the setup of authenticated RPC inbound access. The process may also provide the setup of outbound web-service authenticated HTTPS pathway, and the setup of outbound authenticated RPC access. The process may also provide the setup of RPC binding to TSGW role and the setup of RPC marshalling data size (32 bit fields). The use of OPNUM can provide tunnel creation, tunnel authentication, channel creation, and channel binding. In one example, all OPNUM operations occur by use of a specialized RPC packet filter. These steps may be required to meet Microsoft's requirements for accessing TSGW role providing this service if the service 125 implements a Microsoft operating system such as Microsoft Server.

In one aspect, a unique HTTPS connection is created for inbound and outbound data. These are logically bound (by use of RPC protocol) to establish a single logical connection to RPC services. These are in turn bound to a TSGW using RPC protocol through a fixed filter mechanism. The result is the ability to exchange data using OPNUM. OPNUM are specialized syntax described by TSGW specification. In one aspect, these require RPC pathway from outside firewall to utilize. Once established, a Tunnel and Channel may be created for transporting of data from a client to a Target server, such as a RDP server. The result achieved may be a tunnel through the firewall 120 to Microsoft TSGW role with a channel (data path) from/to target host of the remote server computing device 160.

In one aspect, commands implementing various RPC commands such as OPNUM are received either by functional passing of parameters (when included within the service compatible client 110 or the proxy machine 220) or through protocol syntax. The subject technology can interface the features of the proxy machine 220 through commands by function or by protocol syntax.

Example of Remote Gateway Client Proxy

FIG. 9 illustrates an example of a client-server computer system 900. As shown, the computer system 900 includes client computing device 910, firewall 920, binding server 930, remote procedure call (RPC) server 940, gateway server 950, and remote server computing device 960.

The client computing device 910 can be a laptop computer, a desktop computer, a tablet computer, a personal digital assistant (PDA), a mobile phone, or any similar device. The client computing device may implement a substantially arbitrary operating system having hypertext transfer protocol secure (HTTPS) communication capabilities. As shown, the client computing device 910 is connected with the binding server 930 over the firewall 920, which may function to create or deny network connections based on a set of rules. In one aspect, a unique HTTPS connection is created for inbound data (directed to the remote server computing device 960) and outbound data (directed to the client computing device 910).

As shown, the binding server 930 includes a memory 932. The memory 932 includes a binding in module 934 and a binding out module 936. The binding in module 934 and binding out module 936 may be implemented in all software, all hardware or a combination of software and hardware. As illustrated, the binding in module 934 receives input messages from the client computing device 910 in a format associated with the client computing device, such as HTTPS, and translates the messages into a format that is associated with the remote server computing device 960, such as a format specific to the operating system of the remote server computing device 960. The binding out module 936 receives input messages from the server computing device 960 and translates the messages into a format that is associated with the client computing device 910.

As illustrated, the output from the binding out module 936 is transmitted to the RPC server 940. The input to the binding in module 934 is transmitted from the RPC server 940. In one aspect, the RPC server 940 implements an RPC protocol to allow commands in messages from the client computing device 910 to be executed on the remote server computing device 960. In one aspect, the commands in the messages from the client computing device 910 are bound to an address space of the remote server computing device 960 using the gateway server 950. In one aspect, the gateway server 950 implements Microsoft terminal services gateway (TSGW), Microsoft remote desktop gateway (RDGW) or a similar protocol that is associated with the operating system of the server computing device 960. If the gateway server 950 implements TSGW, then the gateway server 950 may exchange data using OPNUM, a specialized syntax described in the TSGW specification. In the OPNUM implementation, a tunnel and channel system may be created for transporting data from the client computing device 910 to the remote server computing device 960. The OPNUM operations occur via a specialized RPC packet filter. RPC messages may be bound to TSGW messages using marshalling or another technique of modifying memory representations of data. The remote server computing device 960 may include a remote desktop protocol (RDP) server as the target host.

To summarize, according to one aspect, the communication between the client computing device 910 and the binding server 930 over the firewall 920 is implemented in an authenticated HTTPS pathway that is independent of any operating system. The communication between the binding server 930 and the RPC server 940 is implemented using the RPC protocol. The communication between the RPC server 940 and the gateway server 950 is in RPC or a remote server computing device 960 operating system specific protocol, such as OPNUM if the gateway server 950 implements Microsoft TSGW.

In one aspect, the subject technology may include the following elements:

(1) NLA (network layer authentication) referred to as “credssp” comprising NTLM/Kerberos (NT LAN Manager/Kerberos).

(2) HTTPS/SSL (hypertext transfer protocol secure/secure socket layer)—encryption based security.

(3) RPC Authentication—provides NLA at RPC layer.

(4) RPC Bridge/Filter—This provides stack elevation and demotion without RPC.

(5) Tunnel Creation—by use of the RPC bridge/filter.

(6) Channel Creation—by use of the RPC bridge/filter.

(7) Data Exchange—by use of the RPC bridge/filter.

In one aspect of the subject technology, NLA may authenticate the user for access to the TSGW server; HTTPS/SSL may be used as the fundamental transport protocol; and RPC authentication may be a component of the RPC filter. According to one aspect, it is required to assure that a given user has permission to access the RPC layer; RPC Bridge may be the method of providing a data-path to the logical role/service known as TSGW. Tunnel Creation is one example of a command set to TSGW using RPC that creates an “hole” through a firewall. Channel Creation is one example of a command set to TSGW using RPC that creates a logical “channel” to a target host. According to one aspect, it is the channel by which data is transferred to and from a target host within a firewall. Data Exchange may be the process of using a Channel for sending or receiving data through a TSGW server.

In accordance with one aspect of the disclosure, FIG. 10 illustrates an example of a process of translating a message from a format associated with a sending computing device to a format understandable to a receiving computing device.

As is understood, the format associated with the sending computing device may be HTTPS, and the format understandable to the receiving computing device may be RPC. Alternatively, the format associated with the sending computing device may be RPC, and the format understandable to the receiving computing device may be HTTPS.

At process 1010, the binding out module 936 receives a message from a sending computing device, such as remote server computing device 960, in a format that is not understandable to a receiving computing device, such as RPC. At process 1020, the binding out module 936 authenticates the message as being from the remote server computing device 960 and directed to the client computing device 910.

At process 1030, the binding out module 936 translates the message to a format understandable to the receiving client computing device 910, such as HTTPS. In one aspect, marshalling is implemented to bring about the translation. At process 1040, the binding out module 936 transmits the message to the receiving client computing device 910.

In an alternative aspect, the binding in module receives a message from the sending client computing device 910 in HTTPS or a similar format and translated the message to a format understandable to the receiving server computing device 960, such as RPC, using a procedure similar to the one described above.

In accordance with one aspect of the disclosure, FIG. 11 illustrates an example of a process of authenticating a message received in a format associated with the client computing device 910 to a format associated with the server computing device 960.

At process 1110, the binding in module 934 receives a message in a format associated with the client computing device 910. In one implementation, the message is received from the client computing device 910.

At process 1120, the binding in module 934 authenticates the message from the client computing device 910 through a communication protocol, such as HTTPS, over a secure layer, such as secure socket layer (SSL) running in the firewall 920. In one aspect, the authentication may be completed using NT LAN Manager (NTLM).

At process 1130, the binding in module 934 authenticates the message through a remote procedure call over the secure layer, for example SSL, over the communications protocol, for example HTTPS.

At process 1140, the binding in module 934 binds the communication protocol, for example HTTPS, to remote procedure call (RPC) for messages in the format associated with the client computing device 910.

At process 1150, the binding in module 934 binds the remote procedure calls to a format associated with the remote server computing device 960, for example terminal services gateway (TSGW) if the remote server computing device 960 is implementing Microsoft Windows Server.

At process 1160, the binding in module 934 provides the message in a format associated with the server computing device 960, such as the TSGW format if the remote server computing device 960 is implementing Microsoft Windows Server. Marshalling may be used to change the format of the message.

In accordance with one aspect of the disclosure, FIG. 12 illustrates an example of a process of authenticating a message received in a format associated with the server computing device 960 to a format associated with the a client computing device 910.

At process 1210, the binding out module 936 receives a message in a format associated with the remote server computing device 960. In one implementation, the message is received from the remote server computing device 960.

At process 1220, the binding out module 936 authenticates the message from the server computing device 960 through a communication protocol, such as HTTPS, over a secure layer, such as SSL.

At process 1230, the binding out module 936 authenticates the message through a remote procedure call over the secure layer, for example SSL, over the communications protocol, for example HTTPS.

At process 1240, the binding out module 936 binds the communication protocol, for example HTTPS, to remote procedure call (RPC) for messages in the format associated with the server computing device 960.

At process 1250, the binding out module 936 binds the remote procedure call to a format associated with the client computing device 910.

At process 1260, the binding out module 936 provides the message in a format associated with the client computing device 910, such as the HTTPS format. Marshalling may be used to change the format of the message.

In one example, a process of the subject technology is described as follows:

Setup (Inbound)

(1) NTLM Authentication through HTTP over SSL.

(2) NTLM Authentication through RPC over SSL over HTTP.

(3) HTTP to RPC Bindings.

Setup (Outbound)

(4) NTLM Authentication through HTTP over SSL.

(5) NTLM Authentication through RPC over SSL over HTTP.

(6) HTTP to RPC Bindings.

Setup (RPC)

(7) RPC to TSGW Bindings.

(8) RPC Marshal size (32 bit).

TSGW via RPC

(9) Operations 1-9 (OPNUM).

One function of the process outlined above may be the setup of an inbound web-service authenticated HTTPS pathway, and the setup of authenticated RPC inbound access. The process may also provide the setup of outbound web-service authenticated HTTPS pathway, and the setup of outbound authenticated RPC access. The process may also provide the setup of RPC binding to TSGW role and the setup of RPC marshalling data size (32 bit fields). The use of OPNUM can provide tunnel creation, tunnel authentication, channel creation, and channel binding. In one example, all OPNUM operations occur by use of a specialized RPC packet filter. These steps may be required to meet Microsoft's requirements for accessing TSGW role providing this service.

In one aspect, a unique HTTPS connection is created for inbound and outbound data. These are logically bound (by use of RPC protocol) to establish a single logical connection to RPC services. These are in turn bound to a TSGW using RPC protocol through a fixed filter mechanism. The result is the ability to exchange data using OPNUM. OPNUM are specialized syntax described by TSGW specification. In one aspect, these require RPC pathway from outside firewall to utilize. Once established, a Tunnel and Channel may be created for transporting of data from a client to a Target server, such as a RDP server. The result achieved may be a tunnel through the firewall 920 to Microsoft TSGW role with a channel (data path) from/to target host of the remote server computing device 960.

Example of Operation of Translation Module in Proxy Machine

FIG. 13A is a flow chart illustrating an example process 1300A of an operation of a communication module in a proxy machine.

The proxy machine may reside within a client computing device or within a server. Alternatively, the proxy machine may be a machine that is different from the client computing device and different from the server. The proxy machine may reside within a first machine, where the first machine is different from the client computing device and different from the server.

The process 1300A begins at operation 1310A, where the proxy machine (e.g., the proxy machine 220, via operation of the translation module 340) facilitates receiving, from a module of the client computing device (e.g., service incompatible client 210—however, in some aspects, the client computing device may be a service compatible client), a first message in a universal format (e.g., SSH or HTTPS). The operating system of the server may be incompatible with the operating system of the client computing device. For example, the server may implement Apple OS X Lion Server® while the client computing device implements Google Chrome®. Alternatively, the operating system of the server may be compatible with the operating system of the client computing device. For example, the server may implement Apple OS X Lion Server®, while the client computing device implements Apple OS X Lion®. The first message may be received over a firewall. The first message may be associated with an application layer protocol in an open systems interconnection (OSI) model, for example, SSH or HTTP.

In operation 1320A, the proxy machine generates a first encoded message by encoding the first message into a network-based procedure call interface (e.g., RPC) associated with a server. In one aspect, the proxy machine generates the first encoded message based on a stored encoding for the network-based procedure call interface. In one example, an operating system associated of the server (e.g., Microsoft Server®) may be configured to read messages in the network-based procedure call interface. An operating system of the client computing device (e.g., Linux Ubuntu®) may not be configured to read messages in the network-based procedure call interface. Alternatively, an operating system of the client computing device (e.g., Microsoft Windows 7®) may be configured to read messages in the network-based procedure call interface.

In one example, the first encoded message may be generated by replacing the session layer (layer 5) header in the OSI model stack of the first message with a header corresponding to the network-based procedure call interface (e.g., RPC), as illustrated in Table 2 below.

TABLE 2 OSI model stack of OSI model stack of first first message encoded message. [Layer 1 Protocol ID] [Layer 1 Protocol ID] [Layer 2 Protocol ID] [Layer 2 Protocol ID] [Layer 3 Protocol ID] [Layer 3 Protocol ID] [Layer 4 Protocol ID] [Layer 4 Protocol ID] [Layer 5 Protocol ID] [Layer 5 Protocol ID] = [RPC Protocol ID] [Layer 6 Protocol ID] [Layer 6 Protocol ID] [Layer 7 Protocol ID] [Layer 7 Protocol ID] [Data Payload] [Data Payload]

In operation 1330A, the proxy machine facilitates transmitting the first encoded message to a module of the server. The first encoded message may be transmitted over a firewall. The first encoded message may be transmitted via an application layer protocol in an open systems interconnection (OSI) model.

In operation 1340A, the proxy machine facilitates receiving, from a module of the server, a second message encoded in the network-based procedure call interface associated with the server. The second message may be received over a firewall. The second message may be received via an application layer protocol in an open systems interconnection (OSI) model.

In operation 1350A, the proxy machine generates a second decoded message by decoding the second message into the universal format. In one aspect, the proxy machine generates the second decoded message based on the stored encoding for the network-based procedure call interface. In one example, the second decoded message may be a HTTP message and the second message may be a RPC message. The second decoded message may be created by applying stack elevation and demotion from OSI model layer 5 (corresponding to RPC) to OSI model layer 7 (corresponding to HTTP). Table 3 illustrates the blocks in the data corresponding to OSI model layer 5 and layer 7 of the second message. Table 4 illustrates the blocks in the data corresponding to OSI model layer 7 of the second decoded message.

TABLE 3 Second Message Layer 5 [Layer 6 Protocol ID] (RPC layer) [Layer 7 Protocol ID] [Data Payload] Second Message Layer 7 [Data Payload]

TABLE 4 Second Decoded Message [Layer 6 Protocol ID] Layer 7 (HTTP layer) [Layer 7 Protocol ID] [Data Payload]

In one example, the [Layer 6 Protocol ID] and the [Layer 7 Protocol ID] are identical in Table 3 and Table 4. Also, the [Data Payload] is identical in the first and second row of Table 3 and in Table 4.

In operation 1360A, the proxy machine facilitates transmitting the second decoded message to a module of the client computing device. The second decoded message may be transmitted over a firewall. The second decoded message may be transmitted via an application layer protocol in an open systems interconnection (OSI) model. After operation 1360A, the process 1300A ends.

Example of Instructions for Operation of Translation Module in Proxy Machine

FIG. 13B is an example of a device 1300B including instructions for an operation of a translation module in a proxy machine.

The device 1300B may include instructions 1310B to facilitate receiving, from a module of a client computing device, a first message in a universal format.

The device 1300B may include instructions 1320B to generate a first encoded message by encoding a first message into a network-based procedure call interface associated with a server, based on a stored encoding for the network-based procedure call interface.

The device 1300B may include instructions 1330B to facilitate transmitting the first encoded message to a module of the server.

The device 1300B may include instructions 1340B to facilitate receiving, from a module of the server, a second message encoded in the network-based procedure call interface associated with the server.

The device 1300B may include instructions 1350B to generate a second decoded message by decoding the second message into the universal format, based on the stored encoding for the network based procedure call interface.

The device 1300B may include instructions 1360B to facilitate transmitting the second decoded message to a module of the client computing device.

Example of One or More Modules for Operation of Translation Module in Proxy Machine

FIG. 13C is an example of a device 1300C including one or more modules for an operation of a translation module in a proxy machine.

The device 1300C may include a module 1310C for facilitating receiving, from a module of a client computing device, a first message in a universal format.

The device 1300C may include a module 1320C for generating a first encoded message by encoding a first message into a network-based procedure call interface associated with a server, based on a stored encoding for the network-based procedure call interface.

The device 1300C may include a module 1330C for facilitating transmitting the first encoded message to a module of the server.

The device 1300C may include a module 1340C for facilitating receiving, from a module of the server, a second message encoded in the network-based procedure call interface associated with the server.

The device 1300C may include a module 1350C for generating a second decoded message by decoding the second message into the universal format, based on the stored encoding for the network based procedure call interface.

The device 1300C may include instructions 1360C for facilitating transmitting the second decoded message to a module of the client computing device.

Example of Operation of Setup Module in Proxy Machine

FIG. 14A is a flow chart illustrating an example process 1400A of an operation of a setup module in a proxy machine.

The proxy machine may reside within a client computing device or within a server. Alternatively, the proxy machine may be a machine that is different from the client computing device and different from the server. The proxy machine may reside within a first machine, where the first machine is different from the client computing device and different from the server.

The process 1400A begins at operation 1410A, where the proxy machine (e.g., proxy machine 220, via operation of the setup module 325) facilitates authenticating a module of a client computing device (or the client computing device itself) for a data communication. For example, the proxy machine may verify the credentials (e.g., one or more of a login identifier, a password, a cookie, a token, etc.) of the module of the client computing device. In one aspect, the proxy machine may verify the credentials of the client computing device itself.

In one example, the proxy machine may use network layer authentication to authenticate the module of the client computing device. Network layer authentication may be used in a remote desktop session by authenticating the client connecting to the remote desktop before the session is created. In one example, network level authentication authenticates the client computing device before presenting a logon screen on for the remote desktop session on the client computing device. For example, network layer authentication may verify that an IP address of the client computing device is a trusted IP address by comparing the IP address of the client computing device to a stored set of trusted IP addresses. (IP is an example of a network layer, layer 3, protocol in the OSI model.) As a result, the remote desktop server may be protected from malicious client computing devices (which may have unverified IP addresses that are not in the stored set of trusted IP addresses).

In one example, network layer authentication to authenticate the module of the client computing device may be accomplished via an authentication protocol, for example, NT LAN manager (NTLM) or Kerberos. NT local area network (LAN) manager may be used to remotely authenticate a client computing device over an Internet-based connection based on the IP address or other network layer information of the client computing device or if a firewall restricts ports that may be required for authentication by Kerberos. NT LAN manager may be used to authenticate an inbound connection at a server implementing Microsoft Remote Desktop Protocol®.

In operation 1420A, the proxy machine facilitates authenticating a module of a server (or the server itself) for the data communication. For example, the proxy machine may verify the credentials (e.g., one or more of a service identifier, a cookie, a token, etc.) of the module of the server. In one aspect, the proxy machine may verify the credentials of the server itself. The operating system of the server may be incompatible with the operating system of the client computing device. Alternatively, the operating system of the server may be compatible with the operating system of the client computing device.

In operation 1430A, the proxy machine authenticates an encoding for a network-based procedure call interface (e.g., RPC) for the server.

In operation 1440A, the proxy machine binds the network-based procedure call interface to a protocol for a gateway interface (e.g., TSGW) of the server. The binding between the network-based procedure call interface and the protocol for the gateway interface may be generated in real-time, e.g., within less than 1 hour, 30 minutes, 5 minutes, 1 minute, or 10 seconds depending on the size of the binding or on a processing speed of the proxy machine. In one example, the proxy machine binds the network-based procedure call interface to the protocol for the gateway interface after authenticating either each and every one of or at least one of the module of the client computing device, the module of the server, and the encoding for the network-based procedure call interface of the server.

In operation 1450A, the proxy machine facilitates verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range (e.g., a range including messages between a preset minimum message size and a preset maximum message size).

In operation 1460A, the proxy machine facilitates creating a tunnel to a module of the server, where the tunnel is for the data communication. The tunnel (e.g., tunnel 270) may extend from the proxy machine (e.g., proxy machine 220) to the module of the server (e.g., remote server computing device 160). The proxy machine may be communicatively coupled with the module of the client computing device (e.g., service incompatible client 210—however, in some examples, the client computing device may be a service compatible client). The message size range may be associated with the tunnel.

In operation 1470A, the proxy machine facilitates creating a channel within the tunnel, where the channel is for the data communication. The channel may extend from the proxy machine to the module of the server. After operation 1470A, the process 1400A ends.

Example of Instructions for Operation of Setup Module in Proxy Machine

FIG. 14B is an example of a device 1400B including instructions for an operation of a setup module in a proxy machine.

The device 1400B may include instructions 1410B to facilitate authenticating a module of a client computing device for a data communication.

The device 1400B may include instructions 1420B to facilitate authenticating a module of a server for a data communication.

The device 1400B may include instructions 1430B to authenticate an encoding for a network-based procedure call interface for the server.

The device 1400B may include instructions 1440B to bind the network-based procedure call interface to a protocol for a gateway interface of the server.

The device 1400B may include instructions 1450B to facilitate verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range.

The device 1400B may include instructions 1460B to facilitate creating a tunnel to a module of the server, where the tunnel is for the data communication.

The device 1400B may include instructions 1470B to facilitate creating a channel within the tunnel, where the channel is for the data communication.

Example of One or More Modules for Operation of Setup Module in Proxy Machine

FIG. 14C is an example of a device 1400C including one or more modules for an operation of a setup module in a proxy machine.

The device 1400C may include a module 1410C for facilitating authenticating a module of a client computing device for a data communication.

The device 1400C may include a module 1420C for facilitating authenticating a module of a server for a data communication.

The device 1400C may include a module 1430C for authenticating an encoding for a network-based procedure call interface for the server.

The device 1400C may include a module 1440C for binding the network-based procedure call interface to a protocol for a gateway interface of the server.

The device 1400C may include a module 1450C for facilitating verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range.

The device 1400C may include a module 1460C for facilitating creating a tunnel to a module of the server, where the tunnel is for the data communication.

The device 1400C may include a module 1470C for facilitating creating a channel within the tunnel, where the channel is for the data communication.

Illustration of Subject Technology as Clauses

Various examples of aspects of the disclosure are described as numbered clauses (1, 2, 3, etc.) for convenience. These are provided as examples, and do not limit the subject technology. Identifications of the figures and reference numbers are provided below merely as examples and for illustrative purposes, and the clauses are not limited by those identifications.

1. A computer-implemented method for communicating data, the method comprising:

facilitating receiving, from a module of a client computing device, a first message in a universal format;

generating a first encoded message by encoding the first message into a network-based procedure call interface associated with a server, based on a stored encoding for the network-based procedure call interface;

facilitating transmitting the first encoded message to a module of the server;

facilitating receiving, from a module of the server, a second message encoded in the network-based procedure call interface associated with the server;

generating a second decoded message by decoding the second message into the universal format, based on the stored encoding for the network-based procedure call interface; and

facilitating transmitting the second decoded message to a module of the client computing device.

2. The method of clause 1, generating the second decoded message by decoding the second message into the universal format, based on the stored encoding for the network-based procedure call interface comprises:

copying data blocks of a first layer of an open systems interconnection (OSI) model stack for the second message into data blocks of a second layer of the open systems interconnection (OSI) model stack for the second decoded message, wherein the second layer is a higher number layer than the first layer.

3. The method of clause 2, wherein the first layer is layer 5, which is a session layer, and the second layer is layer 7, which is an application layer.

4. The method of clause 3, wherein a protocol associated with the first layer (which is layer 5) of the OSI model for the second message is Remote Procedure Call (RPC), and wherein a protocol associate with the second layer (which is layer 7) of the OSI model is Hypertext Transfer Protocol (HTTP).

5. The method of clause 1, wherein generating the first encoded message by encoding the first message into the network-based procedure call interface associated with the server, based on the stored encoding for the network-based procedure call interface comprises:

replacing a header in a first layer of an open systems interconnection (OSI) model with a header associated with network-based procedure call interface.

6. The method of clause 5, wherein the first layer is layer 5, which is a session layer, and wherein the network-based procedure call interface is RPC.

7. The method of clause 1, wherein an operating system of the server is configured to read messages in the network-based procedure call interface, and wherein an operating system of the client computing device is not configured to read messages in the network-based procedure call interface.

8. The method of clause 1, wherein an operating system of the server is incompatible with an operating system of the client computing device.

9. The method of clause 1, facilitating transmitting the first encoded message to the module of the server comprises:

facilitating transmitting the first encoded message to the module of the server via an application layer protocol in an open systems interconnection (OSI) model.

10. The method of clause 1, wherein facilitating transmitting the second decoded message to the module of the client computing device comprises:

facilitating transmitting the second decoded message to the module of the client computing device via an application layer protocol in an open systems interconnection (OSI) model.

11. The method of clause 1, wherein facilitating transmitting the first encoded message to the module of the server comprises:

facilitating transmitting the first encoded message to the module of the server over a firewall.

12. The method of clause 1, wherein facilitating transmitting the second decoded message to the module of the client computing device comprises:

facilitating transmitting the second decoded message to the module of the client computing device over a firewall.

13. The method of clause 1, wherein the universal format is hypertext transfer protocol secure (HTTPS).

14. The method of clause 1, wherein the network-based procedure call interface comprises a remote procedure call.

15. The method of clause 1, wherein the method is implemented on the client computing device.

16. The method of clause 1, wherein the method is implemented on the server.

17. The method of clause 1, wherein the method is implemented on a first machine, and wherein the first machine is different from the client computing device and different from the server.

18. The method of clause 1, wherein the method is implemented within a router, the router being configured to establish a port forward or a virtual private network through a gateway service.

19. A non-transitory machine-readable medium comprising instructions stored therein, the instructions executable by one or more processors to perform one or more operations, the instructions comprising:

code for causing the one or more processors to facilitate receiving, from a module of a client computing device, a first message in a universal format;

code for causing the one or more processors to generate a first encoded message by encoding the first message into a network-based procedure call interface associated with a server, based on a stored encoding for the network-based procedure call interface;

code for causing the one or more processors to facilitate transmitting the first encoded message to a module of the server;

code for causing the one or more processors to facilitate receiving, from a module of the server, a second message encoded in the network-based procedure call interface associated with the server;

code for causing the one or more processors to generate a second decoded message by decoding the second message into the universal format, based on the stored encoding for the network-based procedure call interface; and

code for causing the one or more processors to facilitate transmitting the second decoded message to a module of the client computing device.

20. The non-transitory machine-readable medium of clause 19, wherein the code for causing the one or more processors to generate the second decoded message by decoding the second message into the universal format, based on the stored encoding for the network-based procedure call interface comprises:

code for causing the one or more processors to copy data blocks of a first layer of an open systems interconnection (OSI) model stack for the second message into data blocks of a second layer of the open systems interconnection (OSI) model stack for the second decoded message, wherein the second layer is a higher number layer than the first layer.

21. The non-transitory machine-readable medium of clause 20, wherein the first layer is layer 5, which is a session layer, and the second layer is layer 7, which is an application layer.

22. The non-transitory machine-readable medium of clause 21, wherein a protocol associated with the first layer (which is layer 5) of the OSI model for the second message is Remote Procedure Call (RPC), and wherein a protocol associate with the second layer (which is layer 7) of the OSI model is Hypertext Transfer Protocol (HTTP).

23. The non-transitory machine-readable medium of clause 19, wherein the code for causing the one or more processors to generate the first encoded message by encoding the first message into the network-based procedure call interface associated with the server, based on the stored encoding for the network-based procedure call interface comprises:

code for causing the one or more processors to replace a header in a first layer of an open systems interconnection (OSI) model with a header associated with network-based procedure call interface.

24. The non-transitory machine-readable medium of clause 23, wherein the first layer is layer 5, which is a session layer, and wherein the network-based procedure call interface is RPC.

25. The non-transitory machine-readable medium of clause 19, wherein an operating system of the server is configured to read messages in the network-based procedure call interface, and wherein an operating system of the client computing device is not configured to read messages in the network-based procedure call interface.

26. The non-transitory machine-readable medium of clause 19, wherein an operating system of the server is incompatible with an operating system of the client computing device.

27. The non-transitory machine-readable medium of clause 19, wherein the code for causing the one or more processors to facilitate transmitting the first encoded message to the module of the server comprises:

code for causing the one or more processors to facilitate transmitting the first encoded message to the module of the server via an application layer protocol in an open systems interconnection (OSI) model.

28. The non-transitory machine-readable medium of clause 19, wherein the code for causing the one or more processors to facilitate transmitting the second decoded message to the module of the client computing device comprises:

code for causing the one or more processors to facilitate transmitting the second decoded message to the module of the client computing device via an application layer protocol in an open systems interconnection (OSI) model.

29. The non-transitory machine-readable medium of clause 19, wherein the code for causing the one or more processors to facilitate transmitting the first encoded message to the module of the server comprises:

code for causing the one or more processors to facilitate transmitting the first encoded message to the module of the server over a firewall.

30. The non-transitory machine-readable medium of clause 19, wherein the code for causing the one or more processors to facilitate transmitting the second decoded message to the module of the client computing device comprises:

code for causing the one or more processors to facilitate transmitting the second decoded message to the module of the client computing device over a firewall.

31. The non-transitory machine-readable medium of clause 19, wherein the universal format is hypertext transfer protocol secure (HTTPS).

32. The non-transitory machine-readable medium of clause 19, wherein the network-based procedure call interface comprises a remote procedure call.

33. The non-transitory machine-readable medium of clause 19, wherein the one or more processors reside on the client computing device.

34. The non-transitory machine-readable medium of clause 19, wherein the one or more processors reside on the server.

35. The non-transitory machine-readable medium of clause 19, wherein the one or more processors reside on a first machine, and wherein the first machine is different from the client computing device and different from the server.

36. The non-transitory machine-readable medium of clause 19, wherein the one or more processors reside within a router, the router being configured to establish a port forward or a virtual private network through a gateway service.

37. An apparatus comprising:

one or more modules configured to facilitate receiving, from a module of a client computing device, a first message in a universal format;

one or more modules configured to generate a first encoded message by encoding the first message into a network-based procedure call interface associated with a server, based on a stored encoding for the network-based procedure call interface;

one or more modules configured to facilitate transmitting the first encoded message to a module of the server;

one or more modules configured to facilitate receiving, from a module of the server, a second message encoded in the network-based procedure call interface associated with the server;

one or more modules configured to generate a second decoded message by decoding the second message into the universal format, based on the stored encoding for the network-based procedure call interface; and

one or more modules configured to facilitate transmitting the second decoded message to a module of the client computing device.

38. The apparatus of clause 37, wherein the one or more modules configured to generate the second decoded message by decoding the second message into the universal format, based on the stored encoding for the network-based procedure call interface comprise:

one or more modules configured to copy data blocks of a first layer of an open systems interconnection (OSI) model stack for the second message into data blocks of a second layer of the open systems interconnection (OSI) model stack for the second decoded message, wherein the second layer is a higher number layer than the first layer.

39. The apparatus of clause 38, wherein the first layer is layer 5, which is a session layer, and the second layer is layer 7, which is an application layer.

40. The apparatus of clause 39, wherein a protocol associated with the first layer (which is layer 5) of the OSI model for the second message is Remote Procedure Call (RPC), and wherein a protocol associate with the second layer (which is layer 7) of the OSI model is Hypertext Transfer Protocol (HTTP).

41. The apparatus of clause 37, wherein the one or more modules configured to generate the first encoded message by encoding the first message into the network-based procedure call interface associated with the server, based on the stored encoding for the network-based procedure call interface comprise:

one or more modules configured to replace a header in a first layer of an open systems interconnection (OSI) model with a header associated with network-based procedure call interface.

42. The apparatus of clause 41, wherein the first layer is layer 5, which is a session layer, and wherein the network-based procedure call interface is RPC.

43. The apparatus of clause 37, wherein an operating system of the server is configured to read messages in the network-based procedure call interface, and wherein an operating system of the client computing device is not configured to read messages in the network-based procedure call interface.

44. The apparatus of clause 37, wherein an operating system of the server is incompatible with an operating system of the client computing device.

45. The apparatus of clause 37, wherein the one or more modules configured to facilitate transmitting the first encoded message to the module of the server comprise:

one or more modules configured to facilitate transmitting the first encoded message to the module of the server via an application layer protocol in an open systems interconnection (OSI) model.

46. The apparatus of clause 37, wherein the one or more modules configured to facilitate transmitting the second decoded message to the module of the client computing device comprise:

one or more modules configured to facilitate transmitting the second decoded message to the module of the client computing device via an application layer protocol in an open systems interconnection (OSI) model.

47. The apparatus of clause 37, wherein the one or more modules configured to facilitate transmitting the first encoded message to the module of the server comprise:

one or more modules configured to facilitate transmitting the first encoded message to the module of the server over a firewall.

48. The apparatus of clause 37, wherein the one or more modules configured to facilitate transmitting the second decoded message to the module of the client computing device comprise:

one or more modules configured to facilitate transmitting the second decoded message to the module of the client computing device over a firewall.

49. The apparatus of clause 37, wherein the universal format is hypertext transfer protocol secure (HTTPS).

50. The apparatus of clause 37, wherein the network-based procedure call interface comprises a remote procedure call.

51. The apparatus of clause 37, wherein the apparatus resides on the client computing device.

52. The apparatus of clause 37, wherein the apparatus resides on the server.

53. The apparatus of clause 37, wherein the apparatus resides on a first machine, and wherein the first machine is different from the client computing device and different from the server.

54. The apparatus of clause 37, wherein the apparatus resides within a router, the router being configured to establish a port forward or a virtual private network through a gateway service.

55. A computer-implemented method for setting up a data communication, the method comprising:

facilitating authenticating a module of a client computing device for the data communication;

facilitating authenticating a module of a server for the data communication;

authenticating an encoding for a network-based procedure call interface for the server;

binding the network-based procedure call interface to a protocol for a gateway interface of the server;

facilitating verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range;

facilitating creating a tunnel to a module of the server, wherein the tunnel is for the data communication; and

facilitating creating a channel within the tunnel, wherein the channel is for the data communication.

56. The method of clause 55, wherein facilitating authenticating the module of the client computing device for the data communication comprises:

facilitating authenticating the module of the client computing device by verifying an Internet Protocol (IP) address associated with the module of the client computing device via network layer authentication.

57. The method of clause 55, wherein an operating system of the server is incompatible with an operating system of the client computing device.

58. The method of clause 55, wherein facilitating authenticating the module of the client computing device comprises:

verifying one or more credentials of the module of the client computing device.

59. The method of clause 55, wherein facilitating authenticating the module of the server comprises:

verifying one or more credentials of the module of the server.

60. The method of clause 55, wherein the message size range is associated with the tunnel.

61. The method of clause 55, wherein the network-based procedure call interface comprises a remote procedure call.

62. The method of clause 55, wherein the gateway interface comprises a terminal services gateway.

63. The method of clause 55, wherein the method is implemented on the client computing device.

64. The method of clause 55, wherein the method is implemented on the server.

65. The method of clause 55, wherein the method is implemented on a first machine, and wherein the first machine is different from the client computing device and different from the server.

66. The method of clause 55, wherein the method is implemented within a router, the router being configured to establish a port forward or a virtual private network through the gateway interface.

67. A non-transitory machine-readable medium comprising instructions stored therein, the instructions executable by one or more processors to perform one or more operations, the instructions comprising:

code for causing the one or more processors to facilitate authenticating a module of a client computing device for a data communication;

code for causing the one or more processors to facilitate authenticating a module of a server for the data communication;

code for causing the one or more processors to authenticate an encoding for a network-based procedure call interface for the server;

code for causing the one or more processors to bind the network-based procedure call interface to a protocol for a gateway interface of the server;

code for causing the one or more processors to facilitate verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range;

code for causing the one or more processors to facilitate creating a tunnel to a module of the server, wherein the tunnel is for the data communication; and

code for causing the one or more processors to facilitate creating a channel within the tunnel, wherein the channel is for the data communication.

68. The non-transitory machine-readable medium of clause 67, wherein the code for causing the one or more processors to facilitate authenticating the module of the client computing device for the data communication comprises:

code for causing the one or more processors to facilitate authenticating the module of the client computing device by verifying an Internet Protocol (IP) address associated with the module of the client computing device via network layer authentication.

69. The non-transitory machine-readable medium of clause 67, wherein an operating system of the server is incompatible with an operating system of the client computing device.

70. The non-transitory machine-readable medium of clause 67, wherein the code for causing the one or more processors to facilitate authenticating the module of the client computing device comprises:

code for causing the one or more processors to verify one or more credentials of the module of the client computing device.

71. The non-transitory machine-readable medium of clause 67, wherein the code for causing the one or more processors to facilitate authenticating the module of the server comprises:

code for causing the one or more processors to verify one or more credentials of the module of the server.

72. The non-transitory machine-readable medium of clause 67, wherein the message size range is associated with the tunnel.

73. The non-transitory machine-readable medium of clause 67, wherein the network-based procedure call interface comprises a remote procedure call.

74. The non-transitory machine-readable medium of clause 67, wherein the gateway interface comprises a terminal services gateway.

75. The non-transitory machine-readable medium of clause 67, wherein the one or more processors reside on the client computing device.

76. The non-transitory machine-readable medium of clause 67, wherein the one or more processors reside on the server.

77. The non-transitory machine-readable medium of clause 67, wherein the one or more processors reside on a first machine, and wherein the first machine is different from the client computing device and different from the server.

78. The non-transitory machine-readable medium of clause 67, wherein the one or more processors reside within a router, the router being configured to establish a port forward or a virtual private network through the gateway interface.

79. An apparatus comprising:

one or more modules configured to facilitate authenticating a module of a client computing device for a data communication;

one or more modules configured to facilitate authenticating a module of a server for the data communication;

one or more modules configured to authenticate an encoding for a network-based procedure call interface for the server;

one or more modules configured to bind the network-based procedure call interface to a protocol for a gateway interface of the server;

one or more modules configured to facilitate verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range;

one or more modules configured to facilitate creating a tunnel to a module of the server, wherein the tunnel is for the data communication; and

one or more modules configured to facilitate creating a channel within the tunnel, wherein the channel is for the data communication.

80. The apparatus of clause 79, wherein the one or more modules configured to facilitate authenticating the module of the client computing device for the data communication comprises:

one or more modules configured to facilitate authenticating the module of the client computing device by verifying an Internet Protocol (IP) address associated with the module of the client computing device via network layer authentication.

81. The apparatus of clause 79, wherein an operating system of the server is incompatible with an operating system of the client computing device.

82. The apparatus of clause 79, wherein the one or more modules configured to facilitate authenticating the module of the client computing device comprises:

one or more modules configured to verify one or more credentials of the module of the client computing device.

83. The apparatus of clause 79, wherein the one or more modules configured to facilitate authenticating the module of the server comprise:

one or more modules configured to verify one or more credentials of the module of the server.

84. The apparatus of clause 79, wherein the message size range is associated with the tunnel.

85. The apparatus of clause 79, wherein the network-based procedure call interface comprises a remote procedure call.

86. The apparatus of clause 79, wherein the gateway interface comprises a terminal services gateway.

87. The apparatus of clause 79, wherein the apparatus resides on the client computing device.

88. The apparatus of clause 79, wherein the apparatus resides on the server.

89. The apparatus of clause 79, wherein the apparatus resides on a first machine, and wherein the first machine is different from the client computing device and different from the server.

90. The apparatus of clause 79, wherein the apparatus resides within a router, the router being configured to establish a port forward or a virtual private network through the gateway interface.

Other Remarks

In one aspect, any of the clauses herein may depend from any one of the independent clauses or any one of the dependent clauses. In one aspect, any of the clauses (e.g., dependent or independent clauses) may be combined with any other clauses (e.g., dependent or independent clauses). In one aspect, a claim may include some or all of the words (e.g., steps, operations, means or components) recited in a clause, a sentence, a phrase or a paragraph. In one aspect, a claim may include some or all of the words recited in one or more clauses, sentences, phrases or paragraphs. In one aspect, some of the words in each of the clauses, sentences, phrases or paragraphs may be removed. In one aspect, additional words or elements may be added to a clause, a sentence, a phrase or a paragraph. In one aspect, the subject technology may be implemented without utilizing some of the components, elements, functions or operations described herein. In one aspect, the subject technology may be implemented utilizing additional components, elements, functions or operations.

In one aspect, any methods, instructions, code, means, logic, components, blocks, modules and the like (e.g., software or hardware) described or claimed herein can be represented in drawings (e.g., flow charts, block diagrams), such drawings (regardless of whether explicitly shown or not) are expressly incorporated herein by reference, and such drawings (if not yet explicitly shown) can be added to the disclosure without constituting new matter. For brevity, some (but not necessarily all) of the clauses/descriptions/claims are explicitly represented in drawings, but any of the clauses/descriptions/claims can be represented in drawings in a manner similar to those drawings explicitly shown. For example, a flow chart can be drawn for any of the clauses, sentences or claims for a method such that each operation or step is connected to the next operation or step by an arrow. In another example, a block diagram can be drawn for any of the clauses, sentences or claims having means-for elements (e.g., means for performing an action) such that each means-for element can be represented as a module for element (e.g., a module for performing an action).

Those of skill in the art would appreciate that items such as the various illustrative blocks, modules, elements, components, methods, operations, steps, and algorithms described herein (e.g., the service incompatible client 210, the proxy machine 220, the firewall 120, the binding interface 130, the network-based procedure call interface 140, the gateway interface 150, the remote server computing device 160, and the components therein) may be implemented as hardware, computer software, or a combination of both.

To illustrate the interchangeability of hardware and software, items such as the various illustrative blocks, modules, elements, components, methods, operations, steps, and algorithms have been described generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application.

In one aspect, “means,” a block, a module, an element, a component or a processor may be an item (e.g., one or more of blocks, modules, elements, components or processors) for performing one or more functions or operations. In one aspect, such an item may be an apparatus, hardware, or a portion thereof. In one example, an item may have a structure in the form of, for example, an instruction(s) for performing the function(s) or operation(s), where the instruction(s) are encoded or stored on a machine-readable medium, on another device, or on a portion thereof, where an instruction(s) may be software, an application(s), a subroutine(s), or a portion thereof. In an example, an item may be implemented as one or more circuits configured to perform the function(s) or operation(s). A circuit may include one or more circuits and/or logic. A circuit may be analog and/or digital. A circuit may be electrical and/or optical. A circuit may include transistors. In an example, one or more items may be implemented as a processing system (e.g., a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc., or a portion(s) or a combination(s) of any of the foregoing). Those skilled in the art will recognize how to implement the instructions, circuits, and processing systems.

A reference to an element in the singular is not intended to mean “one and only one” unless specifically so stated, but rather “one or more.” For example, a message may refer to one or more messages.

Unless specifically stated otherwise, the term “some” refers to one or more. Pronouns in the masculine (e.g., his) include the feminine and neuter gender (e.g., her and its) and vice versa. Headings and subheadings, if any, are used for convenience only and do not limit the invention.

The word “exemplary” is used herein to mean “serving as an example or illustration.” Any aspect or design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects or designs. In one aspect, various alternative configurations and operations described herein may be considered to be at least equivalent.

A phrase such as an “aspect” does not imply that such aspect is essential to the subject technology or that such aspect applies to all configurations of the subject technology. A disclosure relating to an aspect may apply to all configurations, or one or more configurations. An aspect may provide one or more examples. A phrase such as an aspect may refer to one or more aspects and vice versa. A phrase such as an “embodiment” does not imply that such embodiment is essential to the subject technology or that such embodiment applies to all configurations of the subject technology. A disclosure relating to an embodiment may apply to all embodiments, or one or more embodiments. An embodiment may provide one or more examples. A phrase such an embodiment may refer to one or more embodiments and vice versa. A phrase such as a “configuration” does not imply that such configuration is essential to the subject technology or that such configuration applies to all configurations of the subject technology. A disclosure relating to a configuration may apply to all configurations, or one or more configurations. A configuration may provide one or more examples. A phrase such a configuration may refer to one or more configurations and vice versa.

In one aspect of the disclosure, when actions or functions are described as being performed by an item (e.g., receiving, determining, providing, generating, converting, displaying, notifying, accepting, selecting, controlling, transmitting, reporting, sending, authenticating, verifying, binding, creating, or any other action or function), it is understood that such actions or functions may be performed by the item directly. In another example, when an item is described as performing an action, the item may be understood to perform the action indirectly, for example, by facilitating (e.g., enabling, causing or performing a portion of) such an action. For example, generating can refer to facilitating generation. In one aspect, performing an action may refer to performing a portion of the action (e.g., performing a beginning part of the action, performing an end part of the action, or performing a middle portion of the action).

In one aspect, unless otherwise stated, all measurements, values, ratings, positions, magnitudes, sizes, and other specifications that are set forth in this specification, including in the claims that follow, are approximate, not exact. In one aspect, they are intended to have a reasonable range that is consistent with the functions to which they relate and with what is customary in the art to which they pertain.

In one aspect, the term “coupled” or the like may refer to being directly coupled. In another aspect, the term “coupled” or the like may refer to being indirectly coupled.

Various items may be arranged differently (e.g., arranged in a different order, or partitioned in a different way) all without departing from the scope of the subject technology. In one aspect of the disclosure, the elements recited in the accompanying claims may be performed by one or more modules or sub-modules.

It is understood that the specific order or hierarchy of steps, operations or processes disclosed is an illustration of exemplary approaches. Based upon design preferences, it is understood that the specific order or hierarchy of steps, operations or processes may be rearranged. Some of the steps, operations or processes may be performed simultaneously. Some or all of the steps, operations, or processes may be performed automatically, without the intervention of a user. The accompanying method claims, if any, present elements of the various steps, operations or processes in a sample order, and are not meant to be limited to the specific order or hierarchy presented.

The disclosure is provided to enable any person skilled in the art to practice the various aspects described herein. The disclosure provides various examples of the subject technology, and the subject technology is not limited to these examples. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects.

All structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later come to be known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. Moreover, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims. No claim element is to be construed under the provisions of 35 U.S.C. §112, sixth paragraph, unless the element is expressly recited using the phrase “means for” or, in the case of a method claim, the element is recited using the phrase “step for.” Furthermore, to the extent that the term “include,” “have,” or the like is used, such term is intended to be inclusive in a manner similar to the term “comprise” as “comprise” is interpreted when employed as a transitional word in a claim.

The Title, Background, Summary, Brief Description of the Drawings and Abstract of the disclosure are hereby incorporated into the disclosure and are provided as illustrative examples of the disclosure, not as restrictive descriptions. It is submitted with the understanding that they will not be used to limit the scope or meaning of the claims. In addition, in the Detailed Description, it can be seen that the description provides illustrative examples and the various features are grouped together in various embodiments for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the claimed subject matter requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed configuration or operation. The following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separately claimed subject matter.

The claims are not intended to be limited to the aspects described herein, but is to be accorded the full scope consistent with the language claims and to encompass all legal equivalents. Notwithstanding, none of the claims are intended to embrace subject matter that fails to satisfy the requirement of 35 U.S.C. §101, 102, or 103, nor should they be interpreted in such a way. Any unintended embracement of such subject matter is hereby disclaimed. 

1. A computer-implemented method for setting up a data communication, the method comprising: facilitating authenticating a module of a client computing device for the data communication; facilitating authenticating a module of a server for the data communication; authenticating an encoding for a network-based procedure call interface for the server; binding the network-based procedure call interface to a protocol for a gateway interface of the server; facilitating verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range; facilitating creating a tunnel to a module of the server, wherein the tunnel is for the data communication; and facilitating creating a channel within the tunnel, wherein the channel is for the data communication.
 2. The method of claim 1, wherein facilitating authenticating the module of the client computing device for the data communication comprises: facilitating authenticating the module of the client computing device by verifying an Internet Protocol (IP) address associated with the module of the client computing device via network layer authentication.
 3. The method of claim 1, wherein an operating system of the server is incompatible with an operating system of the client computing device.
 4. The method of claim 1, wherein facilitating authenticating the module of the client computing device comprises: verifying one or more credentials of the module of the client computing device.
 5. The method of claim 1, wherein facilitating authenticating the module of the server comprises: verifying one or more credentials of the module of the server.
 6. The method of claim 1, wherein the message size range is associated with the tunnel.
 7. The method of claim 1, wherein the method is implemented within a router, the router being configured to establish a port forward or a virtual private network through the gateway interface.
 8. A non-transitory machine-readable medium comprising instructions stored therein, the instructions executable by one or more processors to perform one or more operations, the instructions comprising: code for causing the one or more processors to facilitate authenticating a module of a client computing device for a data communication; code for causing the one or more processors to facilitate authenticating a module of a server for the data communication; code for causing the one or more processors to authenticate an encoding for a network-based procedure call interface for the server; code for causing the one or more processors to bind the network-based procedure call interface to a protocol for a gateway interface of the server; code for causing the one or more processors to facilitate verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range; code for causing the one or more processors to facilitate creating a tunnel to a module of the server, wherein the tunnel is for the data communication; and code for causing the one or more processors to facilitate creating a channel within the tunnel, wherein the channel is for the data communication.
 9. The non-transitory machine-readable medium of claim 8, wherein the code for causing the one or more processors to facilitate authenticating the module of the client computing device for the data communication comprises: code for causing the one or more processors to facilitate authenticating the module of the client computing device by verifying an Internet Protocol (IP) address associated with the module of the client computing device via network layer authentication.
 10. The non-transitory machine-readable medium of claim 8, wherein an operating system of the server is incompatible with an operating system of the client computing device.
 11. The non-transitory machine-readable medium of claim 8, wherein the code for causing the one or more processors to facilitate authenticating the module of the client computing device comprises: code for causing the one or more processors to verify one or more credentials of the module of the client computing device.
 12. The non-transitory machine-readable medium of claim 8, wherein the code for causing the one or more processors to facilitate authenticating the module of the server comprises: code for causing the one or more processors to verify one or more credentials of the module of the server.
 13. The non-transitory machine-readable medium of claim 8, wherein the message size range is associated with the tunnel.
 14. The non-transitory machine-readable medium of claim 8, wherein the network-based procedure call interface comprises a remote procedure call.
 15. The non-transitory machine-readable medium of claim 8, wherein the gateway interface comprises a terminal services gateway.
 16. The non-transitory machine-readable medium of claim 8, wherein the one or more processors reside on the client computing device.
 17. The non-transitory machine-readable medium of claim 8, wherein the one or more processors reside on the server.
 18. The non-transitory machine-readable medium of claim 8, wherein the one or more processors reside on a first machine, and wherein the first machine is different from the client computing device and different from the server.
 19. The non-transitory machine-readable medium of claim 8, wherein the one or more processors reside within a router, the router being configured to establish a port forward or a virtual private network through the gateway interface.
 20. An apparatus comprising: one or more modules configured to facilitate authenticating a module of a client computing device for a data communication; one or more modules configured to facilitate authenticating a module of a server for the data communication; one or more modules configured to authenticate an encoding for a network-based procedure call interface for the server; one or more modules configured to bind the network-based procedure call interface to a protocol for a gateway interface of the server; one or more modules configured to facilitate verifying that a message size of a message transmitted to a module of the client computing device or to a module of the server is within a message size range; one or more modules configured to facilitate creating a tunnel to a module of the server, wherein the tunnel is for the data communication; and one or more modules configured to facilitate creating a channel within the tunnel, wherein the channel is for the data communication. 